software/drivers/sd8887/src/wlan/mapp/mlanutl/mlanroamagent.c
/**
 *  @brief Get the Roaming agent configuration parameters from FW.
 *
 *  @param argc     number of arguments
 *  @param argv     A pointer to arguments array
 *
 *  @return         MLAN_STATUS_SUCCESS--success, otherwise--fail
 */
@brief Get the Roaming agent configuration parameters from FW.
@param argc     number of arguments
@param argv     A pointer to arguments array


@brief Get the Roaming agent configuration parameters from FW . @param argc number of arguments @param argv A pointer to arguments array
int
process_get_ra_config(int argc, char *argv[])
{
	if (argc == 3) {
		return roamGetControl(argc, argv);
	}
	sub_cmd_exec_t subCmds[] = {
		{"rssi", 1, 1, roamGetRssiStatsThreshold},
		{"prebcnmiss", 1, 1, roamGetPreBeaconMiss},
		{"failcnt", 1, 1, roamGetFailureCount},
		{"backoff", 1, 1, roamGetBackOff},
		{"neighbor", 2, 0, printGetNeighborDeprecation},
		{"nlist", 2, 1, roamGetNborList},
		{"nparams", 2, 1, roamGetNborParams},
		{"scanperiod", 1, 1, roamGetScanPeriod},
		{"metrics", 1, 1, roamGetMetrics},
		{"event", 1, 1, roamGetEventBitmap}
	};
	return process_sub_cmd(subCmds, NELEMENTS(subCmds), argc, argv);
}
int process_get_ra_config ( int argc , char * argv [ ] ) { if ( argc == 3 ) { return roamGetControl ( argc , argv ) ; } sub_cmd_exec_t subCmds [ ] = { { " " , 1 , 1 , roamGetRssiStatsThreshold } , { " " , 1 , 1 , roamGetPreBeaconMiss } , { " " , 1 , 1 , roamGetFailureCount } , { " " , 1 , 1 , roamGetBackOff } , { " " , 2 , 0 , printGetNeighborDeprecation } , { " " , 2 , 1 , roamGetNborList } , { " " , 2 , 1 , roamGetNborParams } , { " " , 1 , 1 , roamGetScanPeriod } , { " " , 1 , 1 , roamGetMetrics } , { " " , 1 , 1 , roamGetEventBitmap } } ; return process_sub_cmd ( subCmds , NELEMENTS ( subCmds ) , argc , argv ) ; }
@brief Get the Roaming agent configuration parameters from FW.
@brief Get the Roaming agent configuration parameters from FW .