Search Linux Wireless

Re: [PATCH 19/23] ath9k_htc: Handle BSSID/AID for multiple interfaces

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

 



Rajkumar Manoharan wrote:
> > +	/*
> > +	 * The beacon paramters are configured only for the first
> > +	 * station interface.
> > +	 */
> > +	if ((priv->ah->opmode == NL80211_IFTYPE_STATION) &&
> > +	    (priv->num_sta_vif > 1) &&
> > +	    (vif->type == NL80211_IFTYPE_STATION)) {
> > +		ath_dbg(common, ATH_DBG_CONFIG,
> > +			"Beacon already configured for a station interface\n");
> > +		return;
> > +	}
> > +
> This will not allow beacon config if your first station vif was not yet
> associated.

Good catch.

> > +	/*
> > +	 * Set the HW AID/BSSID only for the first station interface
> > +	 * or in IBSS mode.
> > +	 */
> > +	set_assoc = !!((priv->ah->opmode == NL80211_IFTYPE_ADHOC) ||
> > +		       ((priv->ah->opmode == NL80211_IFTYPE_STATION) &&
> > +			(priv->num_sta_vif == 1)));
> > +
> > +
> Assume there are two station vifs where one is associated and another is not.
> In such case aid and ani is not configured.

That's the intention...

Sujith
--
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 Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux