Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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,
		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));