ath6kl: handle concurrent AP-STA channel switches
If an ath6kl AP vif is beaconing on one channel, and a STA vif associates on a different channel, a WMI_DISCONNECT event will be sent to the AP vif. Make the AP vif follow the STA interface, and notify userspace. kvalo: fix a sparse warning with vif->next_chan Signed-off-by: Thomas Pedersen <c_tpeder@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
这个提交包含在:
@@ -1151,6 +1151,7 @@ enum wmi_phy_mode {
|
||||
WMI_11AG_MODE = 0x3,
|
||||
WMI_11B_MODE = 0x4,
|
||||
WMI_11GONLY_MODE = 0x5,
|
||||
WMI_11G_HT20 = 0x6,
|
||||
};
|
||||
|
||||
#define WMI_MAX_CHANNELS 32
|
||||
@@ -1468,6 +1469,17 @@ enum wmi_disconnect_reason {
|
||||
IBSS_MERGE = 0xe,
|
||||
};
|
||||
|
||||
/* AP mode disconnect proto_reasons */
|
||||
enum ap_disconnect_reason {
|
||||
WMI_AP_REASON_STA_LEFT = 101,
|
||||
WMI_AP_REASON_FROM_HOST = 102,
|
||||
WMI_AP_REASON_COMM_TIMEOUT = 103,
|
||||
WMI_AP_REASON_MAX_STA = 104,
|
||||
WMI_AP_REASON_ACL = 105,
|
||||
WMI_AP_REASON_STA_ROAM = 106,
|
||||
WMI_AP_REASON_DFS_CHANNEL = 107,
|
||||
};
|
||||
|
||||
#define ATH6KL_COUNTRY_RD_SHIFT 16
|
||||
|
||||
struct ath6kl_wmi_regdomain {
|
||||
|
在新工单中引用
屏蔽一个用户