Skip to content

Commit 1c422d6

Browse files
Loic Poulaingregkh
authored andcommitted
wcn36xx: Fix (QoS) null data frame bitrate/modulation
commit d3fd2c9 upstream. We observe unexpected connection drops with some APs due to non-acked mac80211 generated null data frames (keep-alive). After debugging and capture, we noticed that null frames are submitted at standard data bitrate and that the given APs are in trouble with that. After setting the null frame bitrate to control bitrate, all null frames are acked as expected and connection is maintained. Not sure if it's a requirement of the specification, but it seems the right thing to do anyway, null frames are mostly used for control purpose (power-saving, keep-alive...), and submitting them with a slower/simpler bitrate/modulation is more robust. Cc: stable@vger.kernel.org Fixes: 512b191 ("wcn36xx: Fix TX data path") Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/1634560399-15290-1-git-send-email-loic.poulain@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent c1b8ad6 commit 1c422d6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • drivers/net/wireless/ath/wcn36xx

‎drivers/net/wireless/ath/wcn36xx/txrx.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ static void wcn36xx_set_tx_data(struct wcn36xx_tx_bd *bd,
429429
if (ieee80211_is_any_nullfunc(hdr->frame_control)) {
430430
/* Don't use a regular queue for null packet (no ampdu) */
431431
bd->queue_id = WCN36XX_TX_U_WQ_ID;
432+
bd->bd_rate = WCN36XX_BD_RATE_CTRL;
432433
}
433434

434435
if (bcast) {

0 commit comments

Comments
 (0)