Re: [PATCH] b43: fill PHY ctl word1 in TX header for N-PHY
From: Rafał Miłecki <zajec5@gmail.com>
Date: 2011-02-25 11:38:33
From: Rafał Miłecki <zajec5@gmail.com>
Date: 2011-02-25 11:38:33
W dniu 25 lutego 2011 12:34 użytkownik Rafał Miłecki [off-list ref] napisał:
+ if (phy->type == B43_PHYTYPE_LP) + bw = B43_TXH_PHY1_BW_20;
(...)
+ if (phy->type == B43_PHYTYPE_N) {
+ txhdr->phy_ctl1 =
+ cpu_to_le16(b43_generate_tx_phy_ctl1(dev, rate));
+ txhdr->phy_ctl1_fb =
+ cpu_to_le16(b43_generate_tx_phy_ctl1(dev, rate_fb));
+ }Just to make it clear: this TX header is expected to be filled on both: LP-PHY and N-PHY - that's why you can see some LP specific code in filling function. It just was not tested yet on LP-PHY, that's why it is still disabled. -- Rafał