qcacmn: Set country code for full-offload using iwpriv command
For full-offload, send user country code to FW using WMI command. Change-Id: I84acbd7ce30aa9a8ce590c8fadea2cb5914240fe CRs-Fixed: 2053849
这个提交包含在:
@@ -1349,6 +1349,8 @@ QDF_STATUS (*send_set_country_cmd)(wmi_unified_t wmi_handle,
|
||||
uint32_t (*convert_pdev_id_host_to_target)(uint32_t pdev_id);
|
||||
uint32_t (*convert_pdev_id_target_to_host)(uint32_t pdev_id);
|
||||
|
||||
QDF_STATUS (*send_user_country_code_cmd)(wmi_unified_t wmi_handle,
|
||||
uint8_t pdev_id, struct cc_regdmn_s *rd);
|
||||
};
|
||||
|
||||
struct target_abi_version {
|
||||
|
@@ -71,4 +71,15 @@ QDF_STATUS wmi_extract_reg_11d_new_cc_event(void *wmi_hdl,
|
||||
uint8_t *evt_buf,
|
||||
struct reg_11d_new_country *reg_11d_new_cc,
|
||||
uint32_t len);
|
||||
|
||||
/**
|
||||
* wmi_unified_set_user_country_code_cmd_send() - WMI set country function
|
||||
* @wmi_handle: wmi handle.
|
||||
* @pdev_id: Pdev id
|
||||
* @rd: User country code or regdomain
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_set_user_country_code_cmd_send(void *wmi_hdl,
|
||||
uint8_t pdev_id, struct cc_regdmn_s *rd);
|
||||
#endif /* _WMI_UNIFIED_REG_API_H_ */
|
||||
|
在新工单中引用
屏蔽一个用户