software/drivers/sd8887/src/wlan/mapp/mlanutl/mlanroamagent.c
/**
 *  @brief          Issue setra crossband command
 *
 *  @param argc     number of arguments
 *  @param argv     A pointer to argument array
 *
 *  @return         MLAN_STATUS_SUCCESS--success, otherwise--fail
 */
@brief          Issue setra crossband command
@param argc     number of arguments
@param argv     A pointer to argument array


@brief Issue setra crossband command @param argc number of arguments @param argv A pointer to argument array
static int
roamSetCrossband(int argc, char *argv[])
{
	if (argc != 1) {
		printf("Invalid Usage \n");
		return MLAN_STATUS_FAILURE;
	}
	if (strncmp(argv[0], "enable", strlen("enable")) == 0) {
		return roamSetControl(argc, argv, 1, CROSSBAND_ENABLE);
	} else if (strncmp(argv[0], "disable", strlen("disable")) == 0) {
		return roamSetControl(argc, argv, 0, CROSSBAND_DISABLE);
	}
	printf("Invalid Usage \n");
	return MLAN_STATUS_FAILURE;
}
static int roamSetCrossband ( int argc , char * argv [ ] ) { if ( argc != 1 ) { printf ( " \n " ) ; return MLAN_STATUS_FAILURE ; } if ( strncmp ( argv [ 0 ] , " " , strlen ( " " ) ) == 0 ) { return roamSetControl ( argc , argv , 1 , CROSSBAND_ENABLE ) ; } else if ( strncmp ( argv [ 0 ] , " " , strlen ( " " ) ) == 0 ) { return roamSetControl ( argc , argv , 0 , CROSSBAND_DISABLE ) ; } printf ( " \n " ) ; return MLAN_STATUS_FAILURE ; }
@brief          Issue setra crossband command
  @param argc     number of arguments
  @param argv     A pointer to argument array
@brief Issue setra crossband command @param argc number of arguments @param argv A pointer to argument array