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:

committed by
nshrivas

parent
fdea3c7af7
commit
2751b6d2b3
@@ -353,8 +353,6 @@ typedef void (*txrx_ast_free_cb)(void *ctrl_soc,
|
||||
void *cookie,
|
||||
enum cdp_ast_free_status);
|
||||
|
||||
#define CDP_MAC_ADDR_LEN 6
|
||||
|
||||
/**
|
||||
* struct cdp_ast_entry_info - AST entry information
|
||||
* @peer_mac_addr: mac address of peer on which AST entry is added
|
||||
@@ -367,7 +365,7 @@ typedef void (*txrx_ast_free_cb)(void *ctrl_soc,
|
||||
*
|
||||
*/
|
||||
struct cdp_ast_entry_info {
|
||||
uint8_t peer_mac_addr[CDP_MAC_ADDR_LEN];
|
||||
uint8_t peer_mac_addr[QDF_MAC_ADDR_SIZE];
|
||||
enum cdp_txrx_ast_entry_type type;
|
||||
uint8_t vdev_id;
|
||||
uint8_t pdev_id;
|
||||
@@ -1526,7 +1524,7 @@ enum cdp_dp_cfg {
|
||||
*/
|
||||
struct cdp_peer_cookie {
|
||||
uint8_t peer_id;
|
||||
uint8_t mac_addr[CDP_MAC_ADDR_LEN];
|
||||
uint8_t mac_addr[QDF_MAC_ADDR_SIZE];
|
||||
uint8_t cookie;
|
||||
struct cdp_stats_cookie *ctx;
|
||||
};
|
||||
|
Reference in New Issue
Block a user