qcacmn: Pass hopping radar test when DFS puncture enabled
Hopping radar happens on whole band, hope all DFS sub channels are put to NOL, but F/W only reports single radar event on special freq to host. When DFS puncture enabled, sub channel marking is enabled, host only put single affected 20M sub channel to NOL instead of all current bonded sub channel, AP still stays on current freq for valid puncture bitmap instead of leave DFS freq. If the radar is a frequency hopping radar that truly hops over entire DFS band, then the AP and clients are best served by moving out of the DFS band. But it could well be that only part of the band is used. It is difficult to find product specifications with info on the total bandwidth. Mostly military systems use frequency hopping to avoid jamming. So a middle ground would be to put full bandwidth of current AP to NOL for FCC type 6 frequency hopping radar. When frequency hopping radar happens, F/W set flag that full bandwidth need put to NOL in new added tlv radar_flags of event WMI_PDEV_DFS_RADAR_DETECTION_EVENT, When find the flag is set, host will put full bandwidth of current AP to NOL even sub channel marking is enabled. To avoid compatibility issue between old/new F/W and new/old host, add a F/W service bit wmi_service_radar_flags_support and host service flag is_full_bw_nol_supported. If the wmi_service WMI_SERVICE_RADAR_FLAGS_SUPPORT is enabled by FW, host shall set/unset a bit in the host service flag is_full_bw_nol_supported based on host capabilities. This host service flag is then sent to FW via WMI_INIT_CMDID. Change-Id: I6e280ca4ab00dce97c5aec90c7a4b4fc7c4a440a CRs-Fixed: 3595476
This commit is contained in:

committed by
Rahul Choudhary

parent
9bfc041802
commit
f6fa6b6729
@@ -6437,6 +6437,7 @@ typedef enum {
|
||||
wmi_service_atf_max_client_512_support,
|
||||
#endif
|
||||
wmi_service_fisa_dynamic_msdu_aggr_size_support,
|
||||
wmi_service_radar_flags_support,
|
||||
wmi_services_max,
|
||||
} wmi_conv_service_ids;
|
||||
#define WMI_SERVICE_UNAVAILABLE 0xFFFF
|
||||
@@ -6817,6 +6818,7 @@ struct target_feature_set {
|
||||
* @tx_ilp_enable: capability to support TX ILP from host
|
||||
* @rf_path: Indicates RF path 0 primary, 1 secondary
|
||||
* @fw_ast_indication_disable: Disable AST indication
|
||||
* @is_full_bw_nol_supported: Is full bandwidth needed to put to NOL
|
||||
*/
|
||||
typedef struct {
|
||||
uint32_t num_vdevs;
|
||||
@@ -6951,6 +6953,7 @@ typedef struct {
|
||||
#endif
|
||||
bool rf_path;
|
||||
bool fw_ast_indication_disable;
|
||||
bool is_full_bw_nol_supported;
|
||||
} target_resource_config;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user