提交 7d57b73a 编写于 作者: C Christian Lamparter 提交者: 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: NChristian Lamparter <chunkeey@googlemail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册