About AP client-just set in managed mode and wds_type=2 ?????

Spark.Kuo(郭仲軒) Spark.Kuo
Tue Mar 11 18:47:09 PST 2003


Dear all:
	there are some questions about AP client,and i need your help.
	1 Is the AP client model as follow??
	 mean there is a general AP(AP-1),and another AP(AP-2),the AP-1 is bridge between wlan0 and eth0,and the AP2 is a AP like a "client" and associate to AP-1,but it serve wired ethernet (eth0) itself.
	
	
	PC1---(wlan0)<wireless LAN>----(AP-1)(general AP)----(eth0)<wired LAN>
				|
				|
				|
			(AP-2)(AP Client)---(eth0)<wired LAN>----PC2
	
	2. i check the README.PRISM2,and the wds_type flag should be set 
	    "iwpriv wlan0 prism2_param 27 2" to setting the AP Client in managed Mode.
	#################################################################
	wds_type: WDS type bitfield
		0 = options disabled (default)
		1 = use broadcast RA (WDS frame destination) for broadcast and
			multicast frames
		2 = use AP client mode in 'Managed mode'
		4 = use standard compliant WDS (4 addr) frame also in Host AP
		    mode (Note! This requires STA f/w ver 1.5.x or newer)
	##################################################################
	and mail list has some useful information.
	#################################################################
		added new WDS frame options:
		  - new prism2_param wds_type bitmap:
   		    
			bit1: AP client mode - if AP client mode is enabled and device is
     			 in Managed mode (i.e., associated to an AP), driver accepts
      			4-addr WDS frames from current AP. In addition, outgoing
      			frames that have a foreign source address in the Ethernet
      			header are sent using 4-addr WDS frame to the AP. This allows
      			station mode to perform layer 2 bridgeing. Please note, that
      			due to firmware limitations Host AP in Master mode cannot
      			operate with such station.
	#################################################################
	    so i test as follow:
	     <a>First i set the WDS and the PC1(wireless station on AP-1) and the PC2(wired station on AP2) can
		connect to each.
	    <b>then i just set two command as follow
	   	"iwpriv wlan0 prism2_param 27 2"and 
		"iwconfig wlan0 mode managed".
	           and PC1 and PC2 disconnect.but when i change AP-2 back to Master mode
		"iwconfig wlan0 mode Master"
	           the connection between PC1 and PC2 is OK!!!!!!
	3.I am not sure whether there are some configure needed for AP client?
  	    my card is with primay f/w 1.1.0 secondary f/w 1.5.6,and hostap 2002-10-12.
	    kernel 2.4.19 and wireless_tools.25
	4.i would appreciate your any information and idea.








More information about the Hostap mailing list