On Wednesday 08 December 2010 23:31:01 John W. Linville wrote: > On Wed, Dec 08, 2010 at 12:44:29PM +0900, Bruno Randolf wrote: > > Add a field to wiphy for the hardware to report the availble antennas for > > configuration. Only if this is set to something bigger than zero, will > > the anntenna configuration ops be executed. > > > > Allthough this could be a simple number of antennas, I defined it as a > > bitmap of antennas which are available for configuration, since it's > > more consistent with the rest of the antenna API and there could be > > cases where the hardware allows only configuration of certain antennas. > > As it does not make much of a difference in size or normal usage, I > > think it's better to be able to support this, in case the need arises. > > > > The antenna configuration is now also checked against the availabe > > antennas and rejected if it does not match. > > > > Signed-off-by: Bruno Randolf <br1@xxxxxxxxxxx> > > > > v2: reject antenna configurations which don't match the available > > antennas --- > > Please either put the "v2" part before the "Signed-off-by" or > (preferably) after the "---" line. Also, make sure to use 3 "-" > characters -- often you use only 2 of them and the results from > applying with "git am" are messy. Oh, I'm sorry for that. For some reason I thought 2 -- are ok. Will be careful to have three from now on. bruno -- 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