[PATCH] b43: fill PHY ctl word1 in TX header for N-PHY

Rafał Miłecki zajec5 at gmail.com
Fri Feb 25 06:38:27 EST 2011


W dniu 25 lutego 2011 12:34 użytkownik Rafał Miłecki <zajec5 at gmail.com> 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ł



More information about the b43-dev mailing list