]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - wilink8-wlan/wl18xx-target-scripts.git/blob - mr/HOW TO USE SCRIPTS.txt
mr scripts v1
[wilink8-wlan/wl18xx-target-scripts.git] / mr / HOW TO USE SCRIPTS.txt
1 ######################################## Texas Instruments - D2I #########################################\r
2 ###### Before begining to use MR script you must start as STA or AP ( sta_start.sh or ap_start.sh ) ###### \r
3 ###### <> -- Mandatory parameter                                                                                                                                        ######\r
4 ###### [] -- Optional parameter                                                                                                                                         ######\r
5 ###### Script version : v1.1                                                                                                                                            ######\r
6 ##########################################################################################################\r
7 \r
8 ** All scripts can be loaded to /data/misc/wifi using "Load MR Scripts.ttl" in Tera Term Application.\r
9         \r
10 1. sta_add.sh <IP> <New AP Channel> [MAC]\r
11         Parameters  \r
12                 1. <IP> - Added STA IP\r
13                 2. <New AP Channel> - If required channel is different then hostapd.conf channel, AP will be restarted with required channel. \r
14                                                           "0" says to skip AP reconfiguration. \r
15                                                           Channel enter as number and not as FREQ.\r
16                 3. [MAC] - Added STA MAC\r
17 \r
18         Example\r
19                 1. "sh sta_add.sh 10.2.46.5 11 08:00:28:13:33:36"\r
20                         It means new role of STA will load and AP will be restarted if his current channel is diffrent when 11.\r
21                 2. "sh sta_add.sh 10.2.46.5 0"\r
22                         It means new role of STA will load and AP will not be restarted.\r
23                         \r
24 2. sta_remove.sh (removes wlan0 interface)      \r
25         Parameters  \r
26                 None\r
27                 \r
28 -----------------------------------------------------------------------------------------------------------\r
29         \r
30 3. ap_add.sh <IP> <New AP Channel> [MAC]\r
31         Parameters  \r
32                 1. <IP> - Added AP IP\r
33                 2. <New AP Channel> - Added AP will be load in required channel.\r
34                                                           Channel enter as number and not as FREQ.\r
35                 3. [MAC] - Added AP MAC\r
36         \r
37         Example\r
38                 1. "sh ap_add.sh 10.2.46.5 11 08:00:28:13:33:36"\r
39                         It means new role of AP will load and AP will transmit beacon on required channel.\r
40 \r
41 4. ap_remove.sh (removes wlan1 and mon.wlan1 interfaces)\r
42         Parameters  \r
43                 None\r
44 \r
45 -----------------------------------------------------------------------------------------------------------\r
46 \r
47 5. aGO_add.sh <IP> <New aGO Channel> [MAC]\r
48         Parameters  \r
49                 1. <IP> - Added aGO IP\r
50                 2. <New aGO Channel> - Added aGO will be load in required channel.\r
51                                                           Channel enter as number and not as FREQ.\r
52                 3. [MAC] - Added aGO MAC\r
53         \r
54         Example\r
55                 1. "sh aGO_add.sh 10.2.46.5 11 08:00:28:13:33:36"\r
56                         It means new role of aGO will load and aGO will transmit beacon on required channel.\r
57 \r
58 6. aGO_remove.sh (removes p2p_wlan0 and mon.p2p_wlan0 interfaces)\r
59         Parameters  \r
60                 None\r
61 \r
62 -----------------------------------------------------------------------------------------------------------\r
63 \r
64 7. p2p_add.sh <IP> [MAC]\r
65         Parameters  \r
66                 1. <IP> - Added P2P Device IP\r
67                 2. [MAC] - Added P2P Device MAC\r
68         \r
69         Example\r
70                 1. "sh p2p_add.sh 10.2.46.5 08:00:28:13:33:36"\r
71                         It means new role of P2P Device will load.\r
72 \r
73 8. p2p_remove.sh (removes p2p_wlan0 interface)\r
74         Parameters  \r
75                 None\r
76 \r
77                 \r
78 \r
79 \r
80                 \r
81                 \r
82