Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277881
b: refs/heads/master
c: ad4d71f
h: refs/heads/master
i:
  277879: 17ecc2d
v: v3
  • Loading branch information
Arend van Spriel authored and John W. Linville committed Nov 11, 2011
1 parent cc81cf2 commit fbec090
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 122d36fd5ac99305d294012044198894648bf0f8
refs/heads/master: ad4d71f69ebe2acab75d0a8a66ab9f7609151cce
6 changes: 2 additions & 4 deletions trunk/drivers/net/wireless/brcm80211/brcmsmac/ampdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ brcms_c_sendampdu(struct ampdu_info *ampdu, struct brcms_txq_info *qi,
len = roundup(len, 4);
ampdu_len += (len + (ndelim + 1) * AMPDU_DELIMITER_LEN);

dma_len += (u16) brcmu_pkttotlen(p);
dma_len += (u16) p->len;

BCMMSG(wlc->wiphy, "wl%d: ampdu_len %d"
" seg_cnt %d null delim %d\n",
Expand Down Expand Up @@ -741,9 +741,7 @@ brcms_c_sendampdu(struct ampdu_info *ampdu, struct brcms_txq_info *qi,
if (p) {
if ((tx_info->flags & IEEE80211_TX_CTL_AMPDU) &&
((u8) (p->priority) == tid)) {

plen = brcmu_pkttotlen(p) +
AMPDU_MAX_MPDU_OVERHEAD;
plen = p->len + AMPDU_MAX_MPDU_OVERHEAD;
plen = max(scb_ampdu->min_len, plen);

if ((plen + ampdu_len) > max_ampdu_bytes) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/brcm80211/brcmsmac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ brcms_c_dotxstatus(struct brcms_c_info *wlc, struct tx_status *txs)
tx_info->flags |= IEEE80211_TX_STAT_ACK;
}

totlen = brcmu_pkttotlen(p);
totlen = p->len;
free_pdu = true;

brcms_c_txfifo_complete(wlc, queue, 1);
Expand Down Expand Up @@ -6716,7 +6716,7 @@ brcms_c_d11hdrs_mac80211(struct brcms_c_info *wlc, struct ieee80211_hw *hw,
qos = ieee80211_is_data_qos(h->frame_control);

/* compute length of frame in bytes for use in PLCP computations */
len = brcmu_pkttotlen(p);
len = p->len;
phylen = len + FCS_LEN;

/* Get tx_info */
Expand Down

0 comments on commit fbec090

Please sign in to comment.