qcacmn: Add support to get fwr phymode for frequency
Currently, wifi-pos uses channel number to get the fwr phymode. For adding 6g support wifi-pos need to get the phymode from frequency instead of channel number As a part of fix, Add handler for getting phymode based on frequency CRs-Fixed: 2617903 Change-Id: I007edebe41bf5ca750a1262c85043f628dc9f89f
This commit is contained in:

committed by
nshrivas

vanhempi
f63aaef3d3
commit
2250592dcd
@@ -409,6 +409,19 @@ static inline QDF_STATUS wifi_pos_init_cir_cfr_rings(
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* wifi_pos_register_get_fw_phy_mode_for_freq_cb: API to register callback
|
||||
* to get current PHY mode
|
||||
* @psoc: pointer to psoc object
|
||||
* @handler: callback to be registered
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS in case of success, error codes in
|
||||
* case of failure
|
||||
*/
|
||||
QDF_STATUS wifi_pos_register_get_fw_phy_mode_for_freq_cb(
|
||||
struct wlan_objmgr_psoc *psoc,
|
||||
void (*handler)(uint32_t, uint32_t, uint32_t *));
|
||||
|
||||
/**
|
||||
* wifi_pos_register_get_phy_mode_cb: API to register callback to get
|
||||
* current PHY mode
|
||||
|
Viittaa uudesa ongelmassa
Block a user