Add QCA vendor attribute to configure list of allowed frequencies for AP
Define a new attribute QCA_WLAN_VENDOR_ATTR_CONFIG_AP_ALLOWED_FREQ_LIST to configure the full list of allowed frequencies for the AP operation. The configuration is valid only from the next BSS start until the BSS is stopped. The drivers shall filter out channels on top of this list of channels based on regulatory or other constraints. This can be used to specify user's choice of frequencies, allowed list of channels with static puncturing feature, etc. Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
This commit is contained in:
parent
bb945b98fe
commit
bb4560252d
1 changed files with 27 additions and 0 deletions
|
@ -2917,6 +2917,33 @@ enum qca_wlan_vendor_attr_config {
|
|||
*/
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_MLO_MODE = 90,
|
||||
|
||||
/* Nested attribute with frequencies in u32 attributes to configure a
|
||||
* list of allowed 20 MHz channel center frequencies in MHz for AP
|
||||
* operation. Whenever performing a channel selection operation, the
|
||||
* driver shall generate a new list based on this provided list by
|
||||
* filtering out channels that cannot be used at that time due to
|
||||
* regulatory or other constraints. The resulting list is used as the
|
||||
* list of all allowed channels, i.e., operation on any channel that is
|
||||
* not included is not allowed, whenever performing operations like ACS
|
||||
* and DFS.
|
||||
*
|
||||
* Userspace shall configure this before starting the AP and the
|
||||
* configuration is valid only from the next BSS start and until the
|
||||
* BSS is stopped. The driver shall clear this configuration when the
|
||||
* AP is stopped and fall back to the default behavior for subsequent
|
||||
* AP operation.
|
||||
*
|
||||
* The default behavior when this configuration is not applicable is the
|
||||
* driver can choose any of the channels supported by the hardware
|
||||
* except the channels that cannot be used due to regulatory or other
|
||||
* constraints.
|
||||
*
|
||||
* The driver shall reject this configuration if done after the AP is
|
||||
* started. This attribute can be used to specify user's choice of
|
||||
* frequencies and static puncture channel list, etc.
|
||||
*/
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_AP_ALLOWED_FREQ_LIST = 91,
|
||||
|
||||
/* keep last */
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =
|
||||
|
|
Loading…
Reference in a new issue