mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacmn: Fix the typo for PROFILE_IDX
Fix the typo for PROFILE_IDX and also add WMI macros for short slot time update under MLME. Change-Id: I3c09a7f01029af0f075086166be1c85bd1d7de34 CRs-Fixed: 2412160
This commit is contained in:
parent
0aaa4b4ec1
commit
d3f552ff90
4 changed files with 11 additions and 3 deletions
|
|
@ -38,6 +38,11 @@ struct mlme_mac_ssid {
|
|||
uint8_t mac_ssid[WLAN_SSID_MAX_LEN];
|
||||
} qdf_packed;
|
||||
|
||||
/** slot time long */
|
||||
#define WLAN_MLME_VDEV_SLOT_TIME_LONG 0x1
|
||||
/** slot time short */
|
||||
#define WLAN_MLME_VDEV_SLOT_TIME_SHORT 0x2
|
||||
|
||||
/**
|
||||
* enum MLME_bcn_tx_rate_code - beacon tx rate code
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ enum wlan_mlme_cfg_id {
|
|||
WLAN_MLME_CFG_MODDTIM_CNT,
|
||||
WLAN_MLME_CFG_BEACON_BUFFER,
|
||||
WLAN_MLME_CFG_BEACON_OFFSETS,
|
||||
WLAN_MLME_CFG_PROILE_IDX,
|
||||
WLAN_MLME_CFG_PROFILE_IDX,
|
||||
WLAN_MLME_CFG_PROFILE_NUM,
|
||||
WLAN_MLME_CFG_MBSSID_FLAGS,
|
||||
WLAN_MLME_CFG_VDEVID_TRANS,
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@ wlan_util_vdev_mlme_set_param(struct vdev_mlme_obj *vdev_mlme,
|
|||
case WLAN_MLME_CFG_MODDTIM_CNT:
|
||||
mlme_mgmt->powersave_info.moddtim_cnt = mlme_cfg.value;
|
||||
break;
|
||||
case WLAN_MLME_CFG_PROILE_IDX:
|
||||
case WLAN_MLME_CFG_PROFILE_IDX:
|
||||
mlme_mgmt->mbss_11ax.profile_idx = mlme_cfg.value;
|
||||
break;
|
||||
case WLAN_MLME_CFG_PROFILE_NUM:
|
||||
|
|
@ -485,7 +485,7 @@ void wlan_util_vdev_mlme_get_param(struct vdev_mlme_obj *vdev_mlme,
|
|||
case WLAN_MLME_CFG_MODDTIM_CNT:
|
||||
*value = mlme_mgmt->powersave_info.moddtim_cnt;
|
||||
break;
|
||||
case WLAN_MLME_CFG_PROILE_IDX:
|
||||
case WLAN_MLME_CFG_PROFILE_IDX:
|
||||
*value = mlme_mgmt->mbss_11ax.profile_idx;
|
||||
break;
|
||||
case WLAN_MLME_CFG_PROFILE_NUM:
|
||||
|
|
|
|||
|
|
@ -5962,10 +5962,13 @@ typedef enum {
|
|||
|
||||
#define WMI_HOST_FIXED_RATE_NONE (0xff)
|
||||
|
||||
#ifndef CMN_VDEV_MGR_TGT_IF_ENABLE
|
||||
/** slot time long */
|
||||
#define WMI_HOST_VDEV_SLOT_TIME_LONG 0x1
|
||||
/** slot time short */
|
||||
#define WMI_HOST_VDEV_SLOT_TIME_SHORT 0x2
|
||||
#endif
|
||||
|
||||
/** preablbe long */
|
||||
#define WMI_HOST_VDEV_PREAMBLE_LONG 0x1
|
||||
/** preablbe short */
|
||||
|
|
|
|||
Loading…
Reference in a new issue