mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacmn: Add API to get target capability for Preamble Puncturing Tx
Add API to get target capability for 'Preamble Puncturing Tx' Change-Id: Ieb09bb4920112b52caf567381efb380e21d9c5cb
This commit is contained in:
parent
b23bb8b6f2
commit
759a833fdc
1 changed files with 17 additions and 0 deletions
|
|
@ -2434,4 +2434,21 @@ target_pdev_is_scan_radio_supported(struct wlan_objmgr_pdev *pdev,
|
|||
QDF_STATUS
|
||||
target_pdev_scan_radio_is_dfs_enabled(struct wlan_objmgr_pdev *pdev,
|
||||
bool *is_dfs_en);
|
||||
|
||||
/**
|
||||
* target_psoc_get_preamble_puncture_cap() - Get Preamble Puncturing capability
|
||||
* @psoc_info: pointer to structure target_psoc_info
|
||||
*
|
||||
* API to get the target capability for Preamble Punctured Tx
|
||||
*
|
||||
* Return: target capability for Preamble Punctured Tx.
|
||||
*/
|
||||
static inline uint32_t target_psoc_get_preamble_puncture_cap(
|
||||
struct target_psoc_info *psoc_info)
|
||||
{
|
||||
if (!psoc_info)
|
||||
return 0;
|
||||
|
||||
return psoc_info->info.service_ext2_param.preamble_puncture_bw_cap;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue