qcacmn: Send proper CTL info to fw in world regd
Currently, for world regd and some other regds where conformance test limit is NO_CTL, host is sending invalid CTL info to fw instead of NO_CTL (0xff) due to type conversion issues. To fix this, use proper unsigned type for CTL info. Change-Id: I0407d30c6cd6f7f485d767c97bc5381c9c731440 CRs-Fixed: 2056847
This commit is contained in:

committed by
Rajeev Kumar Sirasanagandla

parent
943a6c1163
commit
4c1fecdc46
@@ -2633,8 +2633,8 @@ QDF_STATUS wmi_unified_process_ch_avoid_update_cmd(void *wmi_hdl)
|
|||||||
*/
|
*/
|
||||||
QDF_STATUS wmi_unified_send_regdomain_info_to_fw_cmd(void *wmi_hdl,
|
QDF_STATUS wmi_unified_send_regdomain_info_to_fw_cmd(void *wmi_hdl,
|
||||||
uint32_t reg_dmn, uint16_t regdmn2G,
|
uint32_t reg_dmn, uint16_t regdmn2G,
|
||||||
uint16_t regdmn5G, int8_t ctl2G,
|
uint16_t regdmn5G, uint8_t ctl2G,
|
||||||
int8_t ctl5G)
|
uint8_t ctl5G)
|
||||||
{
|
{
|
||||||
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
||||||
|
|
||||||
|
@@ -9251,8 +9251,8 @@ send_pdev_set_regdomain_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
*/
|
*/
|
||||||
static QDF_STATUS send_regdomain_info_to_fw_cmd_tlv(wmi_unified_t wmi_handle,
|
static QDF_STATUS send_regdomain_info_to_fw_cmd_tlv(wmi_unified_t wmi_handle,
|
||||||
uint32_t reg_dmn, uint16_t regdmn2G,
|
uint32_t reg_dmn, uint16_t regdmn2G,
|
||||||
uint16_t regdmn5G, int8_t ctl2G,
|
uint16_t regdmn5G, uint8_t ctl2G,
|
||||||
int8_t ctl5G)
|
uint8_t ctl5G)
|
||||||
{
|
{
|
||||||
wmi_buf_t buf;
|
wmi_buf_t buf;
|
||||||
wmi_pdev_set_regdomain_cmd_fixed_param *cmd;
|
wmi_pdev_set_regdomain_cmd_fixed_param *cmd;
|
||||||
|
Reference in New Issue
Block a user