Search Linux Wireless

Re: [PATCH 042/113] rtl8xxxu: Initial implementation of rtl8723bu_config_channel()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jes.Sorensen@xxxxxxxxxx writes:

> From: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx>
>
> This is a first stab of implementing rtl8723bu_config_channel(). For
> now this will only do 20MHz channels.
>
> Signed-off-by: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx>

[...]

> +static void rtl8723bu_config_channel(struct ieee80211_hw *hw)
> +{
> +	struct rtl8xxxu_priv *priv = hw->priv;
> +	u32 val32, rsr;
> +	u8 val8, opmode, subchannel;
> +	u16 rf_mode_bw;
> +	bool ht = true;
> +	int sec_ch_above, channel;
> +	int i;
> +
> +	rf_mode_bw = rtl8xxxu_read16(priv, REG_WMAC_TRXPTCL_CTL);
> +	rf_mode_bw &= ~WMAC_TRXPTCL_CTL_BW_MASK;
> +	rsr = rtl8xxxu_read32(priv, REG_RESPONSE_RATE_SET);
> +	channel = hw->conf.chandef.chan->hw_value;
> +
> +/* Hack */

Indentation.

-- 
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux