Home | History | Annotate | Download | only in Test
      1 /*
      2  * siteMgrDebug.h
      3  *
      4  * Copyright(c) 1998 - 2009 Texas Instruments. All rights reserved.
      5  * All rights reserved.
      6  *
      7  * Redistribution and use in source and binary forms, with or without
      8  * modification, are permitted provided that the following conditions
      9  * are met:
     10  *
     11  *  * Redistributions of source code must retain the above copyright
     12  *    notice, this list of conditions and the following disclaimer.
     13  *  * Redistributions in binary form must reproduce the above copyright
     14  *    notice, this list of conditions and the following disclaimer in
     15  *    the documentation and/or other materials provided with the
     16  *    distribution.
     17  *  * Neither the name Texas Instruments nor the names of its
     18  *    contributors may be used to endorse or promote products derived
     19  *    from this software without specific prior written permission.
     20  *
     21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     22  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     23  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
     24  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
     25  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
     26  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
     27  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     28  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     29  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     30  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     31  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     32  */
     33 
     34 #ifndef __SITE_MGR_DEBUG_H__
     35 #define __SITE_MGR_DEBUG_H__
     36 
     37 #include "tidef.h"
     38 #include "paramOut.h"
     39 #include "DrvMainModules.h"
     40 
     41 #define	SITE_MGR_DEBUG_HELP_MENU			0
     42 #define	PRIMARY_SITE_DBG					1
     43 #define	SITE_TABLE_DBG						2
     44 #define	DESIRED_PARAMS_DBG					3
     45 
     46 
     47 #define	SET_RSN_DESIRED_CIPHER_SUITE_DBG	15
     48 #define	GET_RSN_DESIRED_CIPHER_SUITE_DBG	16
     49 #define	SET_RSN_DESIRED_AUTH_TYPE_DBG		17
     50 #define	GET_RSN_DESIRED_AUTH_TYPE_DBG		18
     51 #define	GET_PRIMARY_SITE_DESC_DBG			19
     52 #define	GET_CONNECTION_STATUS_DBG			20
     53 #define	GET_CURRENT_TX_RATE_DBG				22
     54 #define	SET_SUPPORTED_RATE_SET_DBG			25
     55 #define	GET_SUPPORTED_RATE_SET_DBG			26
     56 #define	SET_MLME_LEGACY_AUTH_TYPE_DBG		27
     57 #define	GET_MLME_LEGACY_AUTH_TYPE_DBG		28
     58 #define RADIO_STAND_BY_CHANGE_STATE			31
     59 #define CONNECT_TO_BSSID					34
     60 
     61 
     62 #define SET_START_CLI_SCAN_PARAM							35
     63 #define SET_STOP_CLI_SCAN_PARAM								36
     64 
     65 #define SET_BROADCAST_BACKGROUND_SCAN_PARAM					37
     66 #define ENABLE_PERIODIC_BROADCAST_BACKGROUND_SCAN_PARAM		38
     67 #define DISABLE_PERIODIC_BROADCAST_BACKGROUND_SCAN_PARAM	39
     68 
     69 #define SET_UNICAST_BACKGROUND_SCAN_PARAM					40
     70 #define ENABLE_PERIODIC_UNICAST_BACKGROUND_SCAN_PARAM		41
     71 #define DISABLE_PERIODIC_UNICAST_BACKGROUND_SCAN_PARAM		42
     72 
     73 #define SET_FOREGROUND_SCAN_PARAM							43
     74 #define ENABLE_PERIODIC_FOREGROUND_SCAN_PARAM				44
     75 #define DISABLE_PERIODIC_FOREGROUND_SCAN_PARAM				45
     76 
     77 #define SET_CHANNEL_NUMBER									46
     78 #define SET_RSSI_GAP_THRSH									47
     79 #define SET_FAST_SCAN_TIMEOUT								48
     80 #define SET_INTERNAL_ROAMING_ENABLE							49
     81 
     82 #define PERFORM_HEALTH_TEST									50
     83 #define PRINT_FAILURE_EVENTS								51
     84 #define FORCE_HW_RESET_RECOVERY								52
     85 #define FORCE_SOFT_RECOVERY									53
     86 
     87 
     88 #define RESET_ROAMING_EVENTS								55
     89 #define SET_DESIRED_CONS_TX_ERRORS_THREH					56
     90 #define GET_CURRENT_ROAMING_STATUS							57
     91 #define SET_DESIRED_CHANNEL									58
     92 
     93 
     94 #define TEST_TOGGLE_LNA_ON                                  60
     95 #define TEST_TOGGLE_LNA_OFF   								61
     96 
     97 
     98 #define TEST_TOGGLE_LNA_ON                                  60
     99 #define TEST_TOGGLE_LNA_OFF   								61
    100 
    101 #define PRINT_SITE_TABLE_PER_SSID							70
    102 
    103 #define ROAM_TEST1											81
    104 #define ROAM_TEST2											82
    105 #define ROAM_TEST3											83
    106 #define ROAM_TEST4											84
    107 #define ROAM_TEST5											85
    108 #define ROAM_TEST6											86
    109 #define ROAM_TEST7											87
    110 
    111 
    112 #define START_PRE_AUTH										100
    113 
    114 
    115 void siteMgrDebugFunction (TI_HANDLE         hSiteMgr,
    116                            TStadHandlesList *pStadHandles,
    117                            TI_UINT32         funcType,
    118                            void             *pParam);
    119 
    120 #endif /* __SITE_MGR_DEBUG_H__ */
    121