qcacmn: Consolidate multiple MAC_ADDR_LEN to QDF_MAC_ADDR_SIZE
Consolidate multiple (redundant) MAC_ADDR_LEN to QDF_MAC_ADDR_SIZE CDP_MAC_ADDR_LEN OL_TXRX_MAC_ADDR_LEN DP_MAC_ADDR_LEN HTT_MAC_ADDR_LEN IEEE80211_ADDR_LEN DEFRAG_IEEE80211_ADDR_LEN ETHER_ADDR_LEN HAL_MAC_ADDR_LEN WLAN_MACADDR_LEN CRs-Fixed: 2406591 Change-Id: I4a87f8ff556920c7b341bdbba99ec43c97b873f4
This commit is contained in:

gecommit door
nshrivas

bovenliggende
fdea3c7af7
commit
2751b6d2b3
@@ -31,8 +31,6 @@
|
||||
|
||||
#define OL_TXRX_INVALID_NUM_PEERS (-1)
|
||||
|
||||
#define OL_TXRX_MAC_ADDR_LEN 6
|
||||
|
||||
|
||||
/* Maximum number of station supported by data path, including BC. */
|
||||
#define WLAN_MAX_STA_COUNT (HAL_NUM_STA)
|
||||
@@ -349,9 +347,9 @@ struct ol_mic_error_info {
|
||||
uint8_t vdev_id;
|
||||
uint32_t key_id;
|
||||
uint64_t pn;
|
||||
uint8_t sa[OL_TXRX_MAC_ADDR_LEN];
|
||||
uint8_t da[OL_TXRX_MAC_ADDR_LEN];
|
||||
uint8_t ta[OL_TXRX_MAC_ADDR_LEN];
|
||||
uint8_t sa[QDF_MAC_ADDR_SIZE];
|
||||
uint8_t da[QDF_MAC_ADDR_SIZE];
|
||||
uint8_t ta[QDF_MAC_ADDR_SIZE];
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -452,8 +450,8 @@ typedef void (*ipa_uc_op_cb_type)(uint8_t *op_msg,
|
||||
*/
|
||||
struct ol_rx_inv_peer_params {
|
||||
uint8_t vdev_id;
|
||||
uint8_t ra[OL_TXRX_MAC_ADDR_LEN];
|
||||
uint8_t ta[OL_TXRX_MAC_ADDR_LEN];
|
||||
uint8_t ra[QDF_MAC_ADDR_SIZE];
|
||||
uint8_t ta[QDF_MAC_ADDR_SIZE];
|
||||
};
|
||||
|
||||
#endif /* __CDP_TXRX_MOB_DEF_H */
|
||||
|
Verwijs in nieuw issue
Block a user