Add QCA vendor interface to configure allowed bands for roaming
Add a QCA vendor attribute to configure the driver/firmware the allowed bands for roaming by userpace. This attribute is also used to get the configured roam bands from the driver. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
be81bbdc3b
commit
a58f7e61c1
1 changed files with 8 additions and 0 deletions
|
@ -4664,6 +4664,13 @@ enum qca_vendor_attr_roam_candidate_selection_criteria {
|
||||||
* threshold value specified by the
|
* threshold value specified by the
|
||||||
* QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD attribute shall be used.
|
* QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD attribute shall be used.
|
||||||
*
|
*
|
||||||
|
* @QCA_ATTR_ROAM_CONTROL_BAND_MASK: Unsigned 32-bit value.
|
||||||
|
* Carries bitmask value of bits from &enum qca_set_band and represents
|
||||||
|
* all the bands in which roaming is allowed. The configuration is valid
|
||||||
|
* until next disconnection. If this attribute is not present, the
|
||||||
|
* existing configuration shall be used. By default, roaming is allowed on
|
||||||
|
* all bands supported by the local device. When the value is set to
|
||||||
|
* %QCA_SETBAND_AUTO, all supported bands shall be enabled.
|
||||||
*/
|
*/
|
||||||
enum qca_vendor_attr_roam_control {
|
enum qca_vendor_attr_roam_control {
|
||||||
QCA_ATTR_ROAM_CONTROL_ENABLE = 1,
|
QCA_ATTR_ROAM_CONTROL_ENABLE = 1,
|
||||||
|
@ -4682,6 +4689,7 @@ enum qca_vendor_attr_roam_control {
|
||||||
QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD_2P4GHZ = 14,
|
QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD_2P4GHZ = 14,
|
||||||
QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD_5GHZ = 15,
|
QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD_5GHZ = 15,
|
||||||
QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD_6GHZ = 16,
|
QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD_6GHZ = 16,
|
||||||
|
QCA_ATTR_ROAM_CONTROL_BAND_MASK = 17,
|
||||||
|
|
||||||
/* keep last */
|
/* keep last */
|
||||||
QCA_ATTR_ROAM_CONTROL_AFTER_LAST,
|
QCA_ATTR_ROAM_CONTROL_AFTER_LAST,
|
||||||
|
|
Loading…
Reference in a new issue