qcacmn: Bring Up STA without dissociation when AP switches to DFS Channel

AP is configured to operate in Channel 100(HT80), and Zero Wait DFS
is enabled. Once PreCAC is complete on DFS Channels,inject radar in
Channel 100 and AP moves to another DFS channel 116 and beacons
immediately but station associated to AP still does a scan again.
When the station receives the Channel Switch Announcement from AP, it
dissociates from the AP and scans again.

Maximum Switch time Information Element can be used by the Station to
to know if the AP has done PreCAC on target channel. Maximum Switch Time
IE is part of AP's beacon and is the sum of CAC timeout on the target
channel and 1 beacon interval.

If PreCAC is done on target channel, the CAC timeout is zero and Maximum
Switch time IE is equal to 1 beacon interval. This element is sent to
Station along with Channel Switch Announcement. The Station receives the
maximum channel switch time element. If the value of maximum channel switch
time element is less then or equal to beacon interval, the station
associates with the AP seamlessly without dissociation. If the value of
the Maximum Channel Switch Time IE is greater than 1 beacon interval, then,
the Station has to dissociate from the AP since, ZeroCAC has not been done
by the AP.

Change-Id: I0301a68c1731cc268b9a6900258261034476446b
CRs-Fixed: 2330817
This commit is contained in:
Hariharan Basuthkar
2018-11-26 11:19:19 +05:30
committed by nshrivas
父節點 268579c204
當前提交 738320eef9
共有 6 個文件被更改,包括 66 次插入0 次删除

查看文件

@@ -357,12 +357,14 @@ enum element_ie {
/**
* enum extn_element_ie :- extended management information element
* @WLAN_EXTN_ELEMID_MAX_CHAN_SWITCH_TIME: Maximum Channel Switch Time IE
* @WLAN_EXTN_ELEMID_HECAP: HE capabilities IE
* @WLAN_EXTN_ELEMID_HEOP: HE Operation IE
* @WLAN_EXTN_ELEMID_MUEDCA: MU-EDCA IE
* @WLAN_EXTN_ELEMID_SRP: spatial reuse parameter IE
*/
enum extn_element_ie {
WLAN_EXTN_ELEMID_MAX_CHAN_SWITCH_TIME = 34,
WLAN_EXTN_ELEMID_HECAP = 35,
WLAN_EXTN_ELEMID_HEOP = 36,
WLAN_EXTN_ELEMID_MUEDCA = 38,