mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
qcacld-3.0: Replace typedef tLimMlmStaContext
Linux coding style doesn't allow camel case notations. So replace tLimMlmStaContext with the original structure. Change-Id: Iea2968d9cf993c405390f0ff9712755137cebc07 CRs-Fixed: 2482105
This commit is contained in:
parent
f342a1205d
commit
b3d5253c22
4 changed files with 28 additions and 7 deletions
|
|
@ -100,7 +100,7 @@ typedef struct sDphHashNode {
|
|||
uint8_t fAniCount:1;
|
||||
uint8_t rmfEnabled:1;
|
||||
/* LIM state */
|
||||
tLimMlmStaContext mlmStaContext;
|
||||
struct lim_sta_context mlmStaContext;
|
||||
/* qos parameter info */
|
||||
tDphQosParams qos;
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -225,8 +225,27 @@ typedef struct tLimPreAuthTable {
|
|||
tLimPreAuthNode **pTable;
|
||||
} tLimPreAuthTable, *tpLimPreAuthTable;
|
||||
|
||||
/* / Per STA context structure definition */
|
||||
typedef struct sLimMlmStaContext {
|
||||
/**
|
||||
* struct lim_sta_context - LIM per STA structure
|
||||
* @mlmState: LIM State
|
||||
* @authType: Authentication algorithm
|
||||
* @akm_type: AKM of the connection
|
||||
* @listenInterval: Listen interval
|
||||
* @capabilityInfo: Capabilities
|
||||
* @disassocReason: Disassociation reason code
|
||||
* @resultCode: Result code
|
||||
* @subType: Indicates association or reassociation
|
||||
* @updateContext: Update context
|
||||
* @schClean: Scheduler clean
|
||||
* @htCapability: 802.11n HT capability
|
||||
* @vhtCapability: 802.11ac VHT capability
|
||||
* @cleanupTrigger: Cleanup trigger
|
||||
* @protStatusCode: Protocol Status code
|
||||
* @he_capable: 802.11ax HE capability
|
||||
* @owe_ie: Pointer to OWE IE
|
||||
* @owe_ie_len: Length of OWE IE
|
||||
*/
|
||||
struct lim_sta_context {
|
||||
tLimMlmStates mlmState;
|
||||
tAniAuthType authType; /* auth algo in auth frame */
|
||||
enum ani_akm_type akm_type; /* akm in rsn/wpa ie */
|
||||
|
|
@ -250,7 +269,7 @@ typedef struct sLimMlmStaContext {
|
|||
bool force_1x1;
|
||||
uint8_t *owe_ie;
|
||||
uint32_t owe_ie_len;
|
||||
} tLimMlmStaContext, *tpLimMlmStaContext;
|
||||
};
|
||||
|
||||
/* Structure definition to hold deferred messages queue parameters */
|
||||
typedef struct sLimDeferredMsgQParams {
|
||||
|
|
|
|||
|
|
@ -686,7 +686,8 @@ lim_cleanup_rx_path(struct mac_context *mac, tpDphHashNode sta,
|
|||
*/
|
||||
void
|
||||
lim_send_del_sta_cnf(struct mac_context *mac, struct qdf_mac_addr sta_dsaddr,
|
||||
uint16_t staDsAssocId, tLimMlmStaContext mlmStaContext,
|
||||
uint16_t staDsAssocId,
|
||||
struct lim_sta_context mlmStaContext,
|
||||
tSirResultCodes status_code, struct pe_session *pe_session)
|
||||
{
|
||||
tLimMlmDisassocCnf mlmDisassocCnf;
|
||||
|
|
@ -4319,7 +4320,7 @@ lim_prepare_and_send_del_sta_cnf(struct mac_context *mac, tpDphHashNode sta,
|
|||
{
|
||||
uint16_t staDsAssocId = 0;
|
||||
struct qdf_mac_addr sta_dsaddr;
|
||||
tLimMlmStaContext mlmStaContext;
|
||||
struct lim_sta_context mlmStaContext;
|
||||
|
||||
if (!sta) {
|
||||
pe_err("sta is NULL");
|
||||
|
|
|
|||
|
|
@ -168,7 +168,8 @@ static inline bool lim_is_roam_synch_in_progress(struct pe_session *pe_session)
|
|||
|
||||
void
|
||||
lim_send_del_sta_cnf(struct mac_context *mac, struct qdf_mac_addr sta_dsaddr,
|
||||
uint16_t staDsAssocId, tLimMlmStaContext mlmStaContext,
|
||||
uint16_t staDsAssocId,
|
||||
struct lim_sta_context mlmStaContext,
|
||||
tSirResultCodes status_code,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue