UINT8 DebugCmdParse(struct net_device *netdev, UINT8 *str) { UINT16 argc; strArray_t *strArray_p; strArray_p = mymalloc(sizeof(strArray_t)); if (strArray_p == NULL) return 1; ToLowerCase(str); argc = StringToArray(str, strArray_p); if ( !memcmp(strArray_p->strArray[0], "tcpack", 6) ) { debug_tcpack = atohex2(strArray_p->strArray[1]); myprint "debug_tcpack %s\n", debug_tcpack?"enabled":"disabled"); }
int ap8x_proc_write (struct file *file, const char *buffer, unsigned long count, void *data) #endif { if (buffer && buffer[0] == 'l') { WLDBG_LEVELS=atohex2(&buffer[1]); } else { int i; for (i = 0; i < WL_MAXIMUM_INSTANCES; i++) { if(devstat[i].netdev) clear_ap8x_stat(devstat[i].netdev); } } return count; }