Commit 7d57b73a authored by Christian Lamparter's avatar Christian Lamparter Committed by John W. Linville

ar9170: do not discard valuable DUPOFDM frames

This patch enables the driver to process all incoming
dupofdm-modulated frames when operating in HT40 mode.
Signed-off-by: default avatarChristian Lamparter <chunkeey@googlemail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 9e595d24
...@@ -850,6 +850,7 @@ static int ar9170_rx_mac_status(struct ar9170 *ar, ...@@ -850,6 +850,7 @@ static int ar9170_rx_mac_status(struct ar9170 *ar,
} }
break; break;
case AR9170_RX_STATUS_MODULATION_DUPOFDM:
case AR9170_RX_STATUS_MODULATION_OFDM: case AR9170_RX_STATUS_MODULATION_OFDM:
switch (head->plcp[0] & 0xf) { switch (head->plcp[0] & 0xf) {
case 0xb: case 0xb:
...@@ -897,8 +898,7 @@ static int ar9170_rx_mac_status(struct ar9170 *ar, ...@@ -897,8 +898,7 @@ static int ar9170_rx_mac_status(struct ar9170 *ar,
status->flag |= RX_FLAG_HT; status->flag |= RX_FLAG_HT;
break; break;
case AR9170_RX_STATUS_MODULATION_DUPOFDM: default:
/* XXX */
if (ar9170_nag_limiter(ar)) if (ar9170_nag_limiter(ar))
printk(KERN_ERR "%s: invalid modulation\n", printk(KERN_ERR "%s: invalid modulation\n",
wiphy_name(ar->hw->wiphy)); wiphy_name(ar->hw->wiphy));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment