mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacmn: Add a vendor attribute for RTPL instance primary frequency
Add an attribute QCA_WLAN_VENDOR_ATTR_RTPLINST_PRIMARY_FREQUENCY for primary channel center frequency in the definition for Representative Tx Power List (RTPL) list entry instance. This is required for 6 GHz support, since the 6 GHz channel numbers overlap with existing 2.4 GHz and 5 GHz channel numbers thus requiring frequency values to uniquely identify channels. Mark QCA_WLAN_VENDOR_ATTR_RTPLINST_PRIMARY as deprecated if both the driver and user space application support 6 GHz. For backward compatibility, QCA_WLAN_VENDOR_ATTR_RTPLINST_PRIMARY is still used if either the driver or user space application or both do not support the 6 GHz band. Change-Id: I71c60aa9512bd183eaf73e1bffa57cab0d5b40c5 CRs-Fixed: 2612147
This commit is contained in:
parent
29aca291c5
commit
5845495d6a
1 changed files with 11 additions and 1 deletions
|
|
@ -6899,12 +6899,22 @@ enum qca_wlan_vendor_attr_rrop_info {
|
|||
enum qca_wlan_vendor_attr_rtplinst {
|
||||
QCA_WLAN_VENDOR_ATTR_RTPLINST_INVALID = 0,
|
||||
|
||||
/* Primary channel number (u8) */
|
||||
/* Primary channel number (u8).
|
||||
* Note: If both the driver and user space application support the
|
||||
* 6 GHz band, this attribute is deprecated and
|
||||
* QCA_WLAN_VENDOR_ATTR_RTPLINST_PRIMARY_FREQUENCY should be used. To
|
||||
* maintain backward compatibility,
|
||||
* QCA_WLAN_VENDOR_ATTR_RTPLINST_PRIMARY is still used if either the
|
||||
* driver or user space application or both do not support the 6 GHz
|
||||
* band.
|
||||
*/
|
||||
QCA_WLAN_VENDOR_ATTR_RTPLINST_PRIMARY = 1,
|
||||
/* Representative Tx power in dBm (s32) with emphasis on throughput. */
|
||||
QCA_WLAN_VENDOR_ATTR_RTPLINST_TXPOWER_THROUGHPUT = 2,
|
||||
/* Representative Tx power in dBm (s32) with emphasis on range. */
|
||||
QCA_WLAN_VENDOR_ATTR_RTPLINST_TXPOWER_RANGE = 3,
|
||||
/* Primary channel center frequency (u32) in MHz */
|
||||
QCA_WLAN_VENDOR_ATTR_RTPLINST_PRIMARY_FREQUENCY = 4,
|
||||
|
||||
QCA_WLAN_VENDOR_ATTR_RTPLINST_AFTER_LAST,
|
||||
QCA_WLAN_VENDOR_ATTR_RTPLINST_MAX =
|
||||
|
|
|
|||
Loading…
Reference in a new issue