|
@@ -322,7 +322,7 @@ int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee, struct sk_buff *skb)
|
|
|
u16 rc = 0;
|
|
|
u8 *dst = NULL, *pDialogToken = NULL, *tag = NULL;
|
|
|
PBA_RECORD pBA = NULL;
|
|
|
- PBA_PARAM_SET pBaParamSet = NULL;
|
|
|
+ union ba_param_set *pBaParamSet = NULL;
|
|
|
u16 *pBaTimeoutVal = NULL;
|
|
|
union sequence_control *pBaStartSeqCtrl = NULL;
|
|
|
struct rx_ts_record *pTS = NULL;
|
|
@@ -342,7 +342,7 @@ int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee, struct sk_buff *skb)
|
|
|
dst = &req->addr2[0];
|
|
|
tag += sizeof(struct rtl_80211_hdr_3addr);
|
|
|
pDialogToken = tag + 2; //category+action
|
|
|
- pBaParamSet = (PBA_PARAM_SET)(tag + 3); //+DialogToken
|
|
|
+ pBaParamSet = (union ba_param_set *)(tag + 3); //+DialogToken
|
|
|
pBaTimeoutVal = (u16 *)(tag + 5);
|
|
|
pBaStartSeqCtrl = (union sequence_control *)(req + 7);
|
|
|
|
|
@@ -423,7 +423,7 @@ int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee, struct sk_buff *skb)
|
|
|
struct tx_ts_record *pTS = NULL;
|
|
|
u8 *dst = NULL, *pDialogToken = NULL, *tag = NULL;
|
|
|
u16 *pStatusCode = NULL, *pBaTimeoutVal = NULL;
|
|
|
- PBA_PARAM_SET pBaParamSet = NULL;
|
|
|
+ union ba_param_set *pBaParamSet = NULL;
|
|
|
u16 ReasonCode;
|
|
|
|
|
|
if (skb->len < sizeof(struct rtl_80211_hdr_3addr) + 9) {
|
|
@@ -439,7 +439,7 @@ int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee, struct sk_buff *skb)
|
|
|
tag += sizeof(struct rtl_80211_hdr_3addr);
|
|
|
pDialogToken = tag + 2;
|
|
|
pStatusCode = (u16 *)(tag + 3);
|
|
|
- pBaParamSet = (PBA_PARAM_SET)(tag + 5);
|
|
|
+ pBaParamSet = (union ba_param_set *)(tag + 5);
|
|
|
pBaTimeoutVal = (u16 *)(tag + 7);
|
|
|
|
|
|
// Check the capability
|