qcacmn: Update correct PHY mode while processing ch_info_req
Currently PHY mode is not getting updated and it is being set as 0, which is resulting in an invalid channel setting to FW for LOWI. To address this issue update the PHY mode correctly. Change-Id: I77b2a517915a05d6a13dec5cee064d83bfae2992 CRs-Fixed: 2318563
This commit is contained in:

committed by
nshrivas

parent
26b5bc9c18
commit
04c074d219
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -368,4 +368,17 @@ static inline QDF_STATUS wifi_pos_init_cir_cfr_rings(
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* wifi_pos_register_get_phy_mode_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_phy_mode_cb(
|
||||
struct wlan_objmgr_psoc *psoc,
|
||||
void (*handler)(uint8_t, uint32_t, uint32_t *));
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user