Add a QCA vendor attribute to set avoid frequencies per netdev
Add a new attribute QCA_WLAN_VENDOR_ATTR_AVOID_FREQUENCY_IFINDEX for QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT subcommand to apply rules for avoid frequencies on a specific netdev. This is a 32-bit unsigned optional attribute. Signed-off-by: Purushottam Kushwaha <quic_pkushwah@quicinc.com>
This commit is contained in:
parent
07c9f183ea
commit
b818a1be14
1 changed files with 9 additions and 0 deletions
|
@ -12088,6 +12088,14 @@ enum qca_wlan_vendor_attr_oem_data_params {
|
|||
* %QCA_WLAN_VENDOR_ATTR_AVOID_FREQUENCY_POWER_CAP_DBM or based on
|
||||
* regulatory/SAE limits if %QCA_WLAN_VENDOR_ATTR_AVOID_FREQUENCY_POWER_CAP_DBM
|
||||
* is not provided.
|
||||
*
|
||||
* @QCA_WLAN_VENDOR_ATTR_AVOID_FREQUENCY_IFINDEX: u32 attribute, optional.
|
||||
* This specifies the interface index (netdev) for which the corresponding
|
||||
* configurations are applied. If the interface index is not specified, the
|
||||
* configurations are applied based on
|
||||
* %QCA_WLAN_VENDOR_ATTR_AVOID_FREQUENCY_IFACES_BITMASK.
|
||||
* %QCA_WLAN_VENDOR_ATTR_AVOID_FREQUENCY_IFACES_BITMASK along with this
|
||||
* attribute shall have the matching nl80211_iftype.
|
||||
*/
|
||||
enum qca_wlan_vendor_attr_avoid_frequency_ext {
|
||||
QCA_WLAN_VENDOR_ATTR_AVOID_FREQUENCY_INVALID = 0,
|
||||
|
@ -12096,6 +12104,7 @@ enum qca_wlan_vendor_attr_avoid_frequency_ext {
|
|||
QCA_WLAN_VENDOR_ATTR_AVOID_FREQUENCY_END = 3,
|
||||
QCA_WLAN_VENDOR_ATTR_AVOID_FREQUENCY_POWER_CAP_DBM = 4,
|
||||
QCA_WLAN_VENDOR_ATTR_AVOID_FREQUENCY_IFACES_BITMASK = 5,
|
||||
QCA_WLAN_VENDOR_ATTR_AVOID_FREQUENCY_IFINDEX = 6,
|
||||
|
||||
QCA_WLAN_VENDOR_ATTR_AVOID_FREQUENCY_AFTER_LAST,
|
||||
QCA_WLAN_VENDOR_ATTR_AVOID_FREQUENCY_MAX =
|
||||
|
|
Loading…
Reference in a new issue