qcacmn: Enhance DCS event handler to support AWGN event

Handle DCS-AWGN event and take actions accordingly:
For STA mode, if the interference locates on primary 20MHz,
disconnect from AP; otherwise, find a max interference free width
and trigger channel change.
For SAP mode, if the interference locates on primary 20MHz,
try to select a random interference free channel and trigger channel
change (stop SAP if no channel is selected); otherwise, find a max
interference free width and trigger channel change.

Change-Id: I33e79f454b459b12ad84f8b0f3259403037464ee
CRs-Fixed: 2958675
此提交包含在:
Yu Wang
2021-06-01 12:03:35 +08:00
提交者 Madan Koyyalamudi
父節點 61d75799c8
當前提交 98a3fceeb3
共有 9 個檔案被更改,包括 806 行新增47 行删除

查看文件

@@ -210,7 +210,7 @@ struct wlan_target_if_dcs_tx_ops {
*/
struct wlan_target_if_dcs_rx_ops {
QDF_STATUS (*process_dcs_event)(struct wlan_objmgr_psoc *psoc,
struct dcs_stats_event *event);
struct wlan_host_dcs_event *event);
};
#endif