Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249313
b: refs/heads/master
c: 931f64a
h: refs/heads/master
i:
  249311: e01c599
v: v3
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed May 3, 2011
1 parent 1cad44c commit b0db089
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 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: 3a7305002ccfefb9dc1effd066bc3e0f5a74beb8
refs/heads/master: 931f64a9d674e37d9d1fd1168e7f74f0a46aeb63
2 changes: 1 addition & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/wlc_ampdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ wlc_ampdu_dotxstatus_complete(struct ampdu_info *ampdu, struct scb *scb,

p = GETNEXTTXP(wlc, queue);
}
wlc_send_q(wlc, wlc->pkt_queue);
wlc_send_q(wlc);

/* update rate state */
antselid = wlc_antsel_antsel2id(wlc->asi, mimoantsel);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/brcm80211/brcmsmac/wlc_bmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ bool BCMFASTPATH wlc_dpc(struct wlc_info *wlc, bool bounded)

/* send any enq'd tx packets. Just makes sure to jump start tx */
if (!pktq_empty(&wlc->pkt_queue->q))
wlc_send_q(wlc, wlc->pkt_queue);
wlc_send_q(wlc);

/* it isn't done and needs to be resched if macintstatus is non-zero */
return wlc->macintstatus != 0;
Expand Down Expand Up @@ -3088,7 +3088,7 @@ wlc_bmac_txstatus(struct wlc_hw_info *wlc_hw, bool bound, bool *fatal)
morepending = true;

if (!pktq_empty(&wlc->pkt_queue->q))
wlc_send_q(wlc, wlc->pkt_queue);
wlc_send_q(wlc);

return morepending;
}
Expand Down
11 changes: 4 additions & 7 deletions trunk/drivers/staging/brcm80211/brcmsmac/wlc_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4933,26 +4933,23 @@ wlc_sendpkt_mac80211(struct wlc_info *wlc, struct sk_buff *sdu,
(wlc_d11hdrs_mac80211(wlc, hw, pkt, scb, 0, 1, fifo, 0, NULL, 0)))
return -EINVAL;
wlc_txq_enq(wlc, scb, pkt, WLC_PRIO_TO_PREC(prio));
wlc_send_q(wlc, wlc->pkt_queue);
wlc_send_q(wlc);

wlc->pub->_cnt->ieee_tx++;
return 0;
}

void BCMFASTPATH wlc_send_q(struct wlc_info *wlc, struct wlc_txq_info *qi)
void BCMFASTPATH wlc_send_q(struct wlc_info *wlc)
{
struct sk_buff *pkt[DOT11_MAXNUMFRAGS];
int prec;
u16 prec_map;
int err = 0, i, count;
uint fifo;
struct wlc_txq_info *qi = wlc->pkt_queue;
struct pktq *q = &qi->q;
struct ieee80211_tx_info *tx_info;

/* only do work for the packet queue */
if (qi != wlc->pkt_queue)
return;

if (in_send_q)
return;
else
Expand Down Expand Up @@ -6183,7 +6180,7 @@ void wlc_high_dpc(struct wlc_info *wlc, u32 macintstatus)

/* send any enq'd tx packets. Just makes sure to jump start tx */
if (!pktq_empty(&wlc->pkt_queue->q))
wlc_send_q(wlc, wlc->pkt_queue);
wlc_send_q(wlc);
}

static void wlc_war16165(struct wlc_info *wlc, bool tx)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/wlc_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ extern void wlc_txflowcontrol_override(struct wlc_info *wlc,
bool on, uint override);
extern bool wlc_txflowcontrol_prio_isset(struct wlc_info *wlc,
struct wlc_txq_info *qi, int prio);
extern void wlc_send_q(struct wlc_info *wlc, struct wlc_txq_info *qi);
extern void wlc_send_q(struct wlc_info *wlc);
extern int wlc_prep_pdu(struct wlc_info *wlc, struct sk_buff *pdu, uint *fifo);

extern u16 wlc_calc_lsig_len(struct wlc_info *wlc, ratespec_t ratespec,
Expand Down

0 comments on commit b0db089

Please sign in to comment.