qcacld-3.0: Add SAP channel auto selection DCS callbacks with AFC
Add channel tx max power factor to existing ACS channel weight logic, so if AFC available can automatically select Standard Power channel which has higher 6 GHz tx power and better performance. Add SAP best channel selection callback when AFC triggered DCS, DCS module will invoke this callback and dynamic switch to best channel/bandwidth if possible. Change-Id: I300057c2b11d0b818f4e20ba51d6ab9b82f6a3ff CRs-Fixed: 3204199
Esse commit está contido em:
@@ -1795,6 +1795,24 @@ void sap_dump_acs_channel(struct sap_acs_cfg *acs_cfg);
|
||||
*/
|
||||
void sap_release_vdev_ref(struct sap_context *sap_ctx);
|
||||
|
||||
#ifdef CONFIG_AFC_SUPPORT
|
||||
/**
|
||||
* sap_afc_dcs_sel_chan() - API to select best SAP best channel/bandwidth with
|
||||
* channel ACS weighted algorithm
|
||||
* @sap_ctx: SAP context handle
|
||||
* @cur_freq: SAP current home channel frequency
|
||||
* @cur_bw: SAP current channel bandwidth
|
||||
* @pref_bw: pointer to channel bandwidth prefer to set as input, and target
|
||||
* channel bandwidth can set as output
|
||||
*
|
||||
* Return: target home channel frequency selected
|
||||
*/
|
||||
qdf_freq_t sap_afc_dcs_sel_chan(struct sap_context *sap_ctx,
|
||||
qdf_freq_t cur_freq,
|
||||
enum phy_ch_width cur_bw,
|
||||
enum phy_ch_width *pref_bw);
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_11BE
|
||||
/**
|
||||
* sap_phymode_is_eht() - Is sap phymode EHT
|
||||
|
Referência em uma nova issue
Block a user