Warning: Object directory not changed from original /usr/src/sys/dev/netif/iwn cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -std=c99 -DKLD_MODULE -nostdinc -I. -I@ -I/usr/src/sys/dev/netif/iwn/forwarder_x86_64/include -I@/../include -fno-omit-frame-pointer -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -mpreferred-stack-boundary=4 -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -std=c99 -c if_iwn.c if_iwn.c:27: error: expected declaration specifiers or '...' before string constant if_iwn.c:27: warning: data definition has no type or storage class if_iwn.c:27: warning: type defaults to 'int' in declaration of '__FBSDID' if_iwn.c:27: warning: function declaration isn't a prototype if_iwn.c:46:25: error: machine/bus.h: No such file or directory if_iwn.c:47:30: error: machine/resource.h: No such file or directory if_iwn.c:50:28: error: dev/pci/pcireg.h: No such file or directory if_iwn.c:51:28: error: dev/pci/pcivar.h: No such file or directory if_iwn.c:67:36: error: net80211/ieee80211_var.h: No such file or directory if_iwn.c:68:37: error: net80211/ieee80211_amrr.h: No such file or directory if_iwn.c:69:41: error: net80211/ieee80211_radiotap.h: No such file or directory if_iwn.c:70:42: error: net80211/ieee80211_regdomain.h: No such file or directory if_iwn.c:72:31: error: dev/iwn/if_iwnreg.h: No such file or directory if_iwn.c:73:31: error: dev/iwn/if_iwnvar.h: No such file or directory if_iwn.c:77: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:77: warning: its scope is only this definition or declaration, which is probably not what you want if_iwn.c:78: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:81: error: 'IEEE80211_ADDR_LEN' undeclared here (not in a function) if_iwn.c:82: warning: 'struct ieee80211com' declared inside parameter list if_iwn.c:86: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:87: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:88: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:89: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:91: warning: 'struct iwn_dma_info' declared inside parameter list if_iwn.c:91: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:92: warning: 'struct iwn_dma_info' declared inside parameter list if_iwn.c:93: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:94: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:95: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:96: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:97: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:98: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:99: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:100: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:101: warning: 'struct iwn_rx_ring' declared inside parameter list if_iwn.c:101: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:102: warning: 'struct iwn_rx_ring' declared inside parameter list if_iwn.c:102: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:103: warning: 'struct iwn_rx_ring' declared inside parameter list if_iwn.c:103: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:105: warning: 'struct iwn_tx_ring' declared inside parameter list if_iwn.c:105: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:106: warning: 'struct iwn_tx_ring' declared inside parameter list if_iwn.c:106: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:107: warning: 'struct iwn_tx_ring' declared inside parameter list if_iwn.c:107: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:108: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:110: error: 'IEEE80211_ADDR_LEN' undeclared here (not in a function) if_iwn.c:110: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:111: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:112: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:113: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:115: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:116: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:118: error: 'IEEE80211_ADDR_LEN' undeclared here (not in a function) if_iwn.c:121: warning: 'enum ieee80211_state' declared inside parameter list if_iwn.c:123: warning: 'struct iwn_rx_data' declared inside parameter list if_iwn.c:123: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:123: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:125: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:127: warning: 'struct iwn_rx_data' declared inside parameter list if_iwn.c:127: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:127: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:133: warning: 'struct iwn_rx_data' declared inside parameter list if_iwn.c:133: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:133: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:135: warning: 'struct iwn_rx_data' declared inside parameter list if_iwn.c:135: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:135: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:137: warning: 'struct iwn_rx_data' declared inside parameter list if_iwn.c:137: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:137: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:139: warning: 'struct iwn_rx_data' declared inside parameter list if_iwn.c:139: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:139: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:141: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:141: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:142: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:142: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:143: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:144: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:145: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:146: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:149: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:151: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:152: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:154: warning: 'struct iwn_tx_ring' declared inside parameter list if_iwn.c:154: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:156: warning: 'struct ieee80211_bpf_params' declared inside parameter list if_iwn.c:159: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:161: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:163: warning: 'struct iwn_node_info' declared inside parameter list if_iwn.c:163: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:165: warning: 'struct iwn_node_info' declared inside parameter list if_iwn.c:165: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:166: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:167: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:168: warning: 'struct ieee80211com' declared inside parameter list if_iwn.c:170: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:171: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:172: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:173: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:175: warning: 'struct ieee80211_channel' declared inside parameter list if_iwn.c:175: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:177: warning: 'struct ieee80211_channel' declared inside parameter list if_iwn.c:177: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:178: warning: 'struct iwn_rx_stat' declared inside parameter list if_iwn.c:178: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:179: warning: 'struct iwn_rx_stat' declared inside parameter list if_iwn.c:179: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:180: warning: 'struct iwn_rx_general_stats' declared inside parameter list if_iwn.c:181: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:182: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:183: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:185: warning: 'struct iwn_rx_general_stats' declared inside parameter list if_iwn.c:185: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:186: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:187: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:188: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:189: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:191: warning: 'struct iwn_rx_stats' declared inside parameter list if_iwn.c:191: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:192: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:193: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:194: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:195: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:196: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:197: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:198: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:199: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:200: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:201: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:202: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:204: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:205: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:207: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:208: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:209: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:210: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:211: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:212: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:213: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:214: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:215: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:216: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:217: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:218: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:219: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:221: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:222: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:223: warning: 'struct ieee80211com' declared inside parameter list if_iwn.c:224: warning: 'struct ieee80211com' declared inside parameter list if_iwn.c:225: warning: 'struct ieee80211com' declared inside parameter list if_iwn.c:226: warning: 'struct ieee80211_scan_state' declared inside parameter list if_iwn.c:227: warning: 'struct ieee80211_scan_state' declared inside parameter list if_iwn.c:230: error: array type has incomplete element type if_iwn.c:230: warning: 'struct ieee80211_channel' declared inside parameter list if_iwn.c:230: warning: 'struct ieee80211_regdomain' declared inside parameter list if_iwn.c:230: warning: 'struct ieee80211com' declared inside parameter list if_iwn.c:234: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:302: error: variable 'iwn4965_hal' has initializer but incomplete type if_iwn.c:303: warning: excess elements in struct initializer if_iwn.c:303: warning: (near initialization for 'iwn4965_hal') if_iwn.c:304: warning: excess elements in struct initializer if_iwn.c:304: warning: (near initialization for 'iwn4965_hal') if_iwn.c:305: warning: excess elements in struct initializer if_iwn.c:305: warning: (near initialization for 'iwn4965_hal') if_iwn.c:306: warning: excess elements in struct initializer if_iwn.c:306: warning: (near initialization for 'iwn4965_hal') if_iwn.c:307: warning: excess elements in struct initializer if_iwn.c:307: warning: (near initialization for 'iwn4965_hal') if_iwn.c:308: warning: excess elements in struct initializer if_iwn.c:308: warning: (near initialization for 'iwn4965_hal') if_iwn.c:309: warning: excess elements in struct initializer if_iwn.c:309: warning: (near initialization for 'iwn4965_hal') if_iwn.c:310: warning: excess elements in struct initializer if_iwn.c:310: warning: (near initialization for 'iwn4965_hal') if_iwn.c:311: warning: excess elements in struct initializer if_iwn.c:311: warning: (near initialization for 'iwn4965_hal') if_iwn.c:312: warning: excess elements in struct initializer if_iwn.c:312: warning: (near initialization for 'iwn4965_hal') if_iwn.c:313: warning: excess elements in struct initializer if_iwn.c:313: warning: (near initialization for 'iwn4965_hal') if_iwn.c:314: warning: excess elements in struct initializer if_iwn.c:314: warning: (near initialization for 'iwn4965_hal') if_iwn.c:319: error: 'IWN4965_NTXQUEUES' undeclared here (not in a function) if_iwn.c:319: warning: excess elements in struct initializer if_iwn.c:319: warning: (near initialization for 'iwn4965_hal') if_iwn.c:320: error: 'IWN4965_NDMACHNLS' undeclared here (not in a function) if_iwn.c:320: warning: excess elements in struct initializer if_iwn.c:320: warning: (near initialization for 'iwn4965_hal') if_iwn.c:321: error: 'IWN4965_ID_BROADCAST' undeclared here (not in a function) if_iwn.c:321: warning: excess elements in struct initializer if_iwn.c:321: warning: (near initialization for 'iwn4965_hal') if_iwn.c:322: error: 'IWN4965_RXONSZ' undeclared here (not in a function) if_iwn.c:322: warning: excess elements in struct initializer if_iwn.c:322: warning: (near initialization for 'iwn4965_hal') if_iwn.c:323: error: 'IWN4965_SCHEDSZ' undeclared here (not in a function) if_iwn.c:323: warning: excess elements in struct initializer if_iwn.c:323: warning: (near initialization for 'iwn4965_hal') if_iwn.c:324: error: 'IWN4965_FW_TEXT_MAXSZ' undeclared here (not in a function) if_iwn.c:324: warning: excess elements in struct initializer if_iwn.c:324: warning: (near initialization for 'iwn4965_hal') if_iwn.c:325: error: 'IWN4965_FW_DATA_MAXSZ' undeclared here (not in a function) if_iwn.c:325: warning: excess elements in struct initializer if_iwn.c:325: warning: (near initialization for 'iwn4965_hal') if_iwn.c:326: error: 'IWN4965_FWSZ' undeclared here (not in a function) if_iwn.c:326: warning: excess elements in struct initializer if_iwn.c:326: warning: (near initialization for 'iwn4965_hal') if_iwn.c:327: error: 'IWN4965_SCHED_TXFACT' undeclared here (not in a function) if_iwn.c:328: warning: excess elements in struct initializer if_iwn.c:328: warning: (near initialization for 'iwn4965_hal') if_iwn.c:330: error: variable 'iwn5000_hal' has initializer but incomplete type if_iwn.c:331: warning: excess elements in struct initializer if_iwn.c:331: warning: (near initialization for 'iwn5000_hal') if_iwn.c:332: warning: excess elements in struct initializer if_iwn.c:332: warning: (near initialization for 'iwn5000_hal') if_iwn.c:333: warning: excess elements in struct initializer if_iwn.c:333: warning: (near initialization for 'iwn5000_hal') if_iwn.c:334: warning: excess elements in struct initializer if_iwn.c:334: warning: (near initialization for 'iwn5000_hal') if_iwn.c:335: warning: excess elements in struct initializer if_iwn.c:335: warning: (near initialization for 'iwn5000_hal') if_iwn.c:336: warning: excess elements in struct initializer if_iwn.c:336: warning: (near initialization for 'iwn5000_hal') if_iwn.c:337: warning: excess elements in struct initializer if_iwn.c:337: warning: (near initialization for 'iwn5000_hal') if_iwn.c:338: warning: excess elements in struct initializer if_iwn.c:338: warning: (near initialization for 'iwn5000_hal') if_iwn.c:339: warning: excess elements in struct initializer if_iwn.c:339: warning: (near initialization for 'iwn5000_hal') if_iwn.c:340: warning: excess elements in struct initializer if_iwn.c:340: warning: (near initialization for 'iwn5000_hal') if_iwn.c:341: warning: excess elements in struct initializer if_iwn.c:341: warning: (near initialization for 'iwn5000_hal') if_iwn.c:342: warning: excess elements in struct initializer if_iwn.c:342: warning: (near initialization for 'iwn5000_hal') if_iwn.c:347: error: 'IWN5000_NTXQUEUES' undeclared here (not in a function) if_iwn.c:347: warning: excess elements in struct initializer if_iwn.c:347: warning: (near initialization for 'iwn5000_hal') if_iwn.c:348: error: 'IWN5000_NDMACHNLS' undeclared here (not in a function) if_iwn.c:348: warning: excess elements in struct initializer if_iwn.c:348: warning: (near initialization for 'iwn5000_hal') if_iwn.c:349: error: 'IWN5000_ID_BROADCAST' undeclared here (not in a function) if_iwn.c:349: warning: excess elements in struct initializer if_iwn.c:349: warning: (near initialization for 'iwn5000_hal') if_iwn.c:350: error: 'IWN5000_RXONSZ' undeclared here (not in a function) if_iwn.c:350: warning: excess elements in struct initializer if_iwn.c:350: warning: (near initialization for 'iwn5000_hal') if_iwn.c:351: error: 'IWN5000_SCHEDSZ' undeclared here (not in a function) if_iwn.c:351: warning: excess elements in struct initializer if_iwn.c:351: warning: (near initialization for 'iwn5000_hal') if_iwn.c:352: error: 'IWN5000_FW_TEXT_MAXSZ' undeclared here (not in a function) if_iwn.c:352: warning: excess elements in struct initializer if_iwn.c:352: warning: (near initialization for 'iwn5000_hal') if_iwn.c:353: error: 'IWN5000_FW_DATA_MAXSZ' undeclared here (not in a function) if_iwn.c:353: warning: excess elements in struct initializer if_iwn.c:353: warning: (near initialization for 'iwn5000_hal') if_iwn.c:354: error: 'IWN5000_FWSZ' undeclared here (not in a function) if_iwn.c:354: warning: excess elements in struct initializer if_iwn.c:354: warning: (near initialization for 'iwn5000_hal') if_iwn.c:355: error: 'IWN5000_SCHED_TXFACT' undeclared here (not in a function) if_iwn.c:356: warning: excess elements in struct initializer if_iwn.c:356: warning: (near initialization for 'iwn5000_hal') if_iwn.c: In function 'iwn_probe': if_iwn.c:364: warning: implicit declaration of function 'pci_get_vendor' if_iwn.c:364: warning: nested extern declaration of 'pci_get_vendor' if_iwn.c:365: warning: implicit declaration of function 'pci_get_device' if_iwn.c:365: warning: nested extern declaration of 'pci_get_device' if_iwn.c: In function 'iwn_attach': if_iwn.c:382: error: 'IEEE80211_ADDR_LEN' undeclared (first use in this function) if_iwn.c:382: error: (Each undeclared identifier is reported only once if_iwn.c:382: error: for each function it appears in.) if_iwn.c:384: error: dereferencing pointer to incomplete type if_iwn.c:390: warning: implicit declaration of function 'pci_find_extcap' if_iwn.c:390: warning: nested extern declaration of 'pci_find_extcap' if_iwn.c:390: error: 'PCIY_EXPRESS' undeclared (first use in this function) if_iwn.c:390: error: dereferencing pointer to incomplete type if_iwn.c:397: warning: implicit declaration of function 'pci_write_config' if_iwn.c:397: warning: nested extern declaration of 'pci_write_config' if_iwn.c:400: warning: implicit declaration of function 'pci_read_config' if_iwn.c:400: warning: nested extern declaration of 'pci_read_config' if_iwn.c:400: error: 'PCIR_COMMAND' undeclared (first use in this function) if_iwn.c:401: error: 'PCIM_CMD_INTxDIS' undeclared (first use in this function) if_iwn.c:402: error: dereferencing pointer to incomplete type if_iwn.c:402: warning: implicit declaration of function 'printf' if_iwn.c:402: warning: nested extern declaration of 'printf' if_iwn.c:409: warning: implicit declaration of function 'pci_enable_busmaster' if_iwn.c:409: warning: nested extern declaration of 'pci_enable_busmaster' if_iwn.c:411: error: dereferencing pointer to incomplete type if_iwn.c:411: warning: implicit declaration of function 'PCIR_BAR' if_iwn.c:411: warning: nested extern declaration of 'PCIR_BAR' if_iwn.c:412: error: dereferencing pointer to incomplete type if_iwn.c:412: error: dereferencing pointer to incomplete type if_iwn.c:414: error: dereferencing pointer to incomplete type if_iwn.c:420: error: dereferencing pointer to incomplete type if_iwn.c:420: error: dereferencing pointer to incomplete type if_iwn.c:421: error: dereferencing pointer to incomplete type if_iwn.c:421: error: dereferencing pointer to incomplete type if_iwn.c:422: error: dereferencing pointer to incomplete type if_iwn.c:423: warning: implicit declaration of function 'pci_msi_count' if_iwn.c:423: warning: nested extern declaration of 'pci_msi_count' if_iwn.c:424: warning: implicit declaration of function 'pci_alloc_msi' if_iwn.c:424: warning: nested extern declaration of 'pci_alloc_msi' if_iwn.c:425: error: dereferencing pointer to incomplete type if_iwn.c:426: error: dereferencing pointer to incomplete type if_iwn.c:426: error: dereferencing pointer to incomplete type if_iwn.c:428: error: dereferencing pointer to incomplete type if_iwn.c:434: warning: implicit declaration of function 'IWN_LOCK_INIT' if_iwn.c:434: warning: nested extern declaration of 'IWN_LOCK_INIT' if_iwn.c:435: warning: implicit declaration of function 'callout_init_mtx' if_iwn.c:435: warning: nested extern declaration of 'callout_init_mtx' if_iwn.c:435: error: dereferencing pointer to incomplete type if_iwn.c:435: error: dereferencing pointer to incomplete type if_iwn.c:436: error: dereferencing pointer to incomplete type if_iwn.c:436: error: dereferencing pointer to incomplete type if_iwn.c:436: error: dereferencing pointer to incomplete type if_iwn.c:436: error: dereferencing pointer to incomplete type if_iwn.c:437: error: dereferencing pointer to incomplete type if_iwn.c:437: error: dereferencing pointer to incomplete type if_iwn.c:437: error: dereferencing pointer to incomplete type if_iwn.c:437: error: dereferencing pointer to incomplete type if_iwn.c:438: error: dereferencing pointer to incomplete type if_iwn.c:438: error: dereferencing pointer to incomplete type if_iwn.c:438: error: dereferencing pointer to incomplete type if_iwn.c:438: error: dereferencing pointer to incomplete type if_iwn.c:441: warning: passing argument 1 of 'iwn_hal_attach' from incompatible pointer type if_iwn.c:447: warning: passing argument 1 of 'iwn_hw_prepare' from incompatible pointer type if_iwn.c:454: warning: passing argument 1 of 'iwn_alloc_fwmem' from incompatible pointer type if_iwn.c:463: warning: passing argument 1 of 'iwn_alloc_kw' from incompatible pointer type if_iwn.c:471: error: dereferencing pointer to incomplete type if_iwn.c:471: error: 'IWN_HW_REV_TYPE_4965' undeclared (first use in this function) if_iwn.c:472: warning: passing argument 1 of 'iwn_alloc_ict' from incompatible pointer type if_iwn.c:480: warning: passing argument 1 of 'iwn_alloc_sched' from incompatible pointer type if_iwn.c:489: error: dereferencing pointer to incomplete type if_iwn.c:490: error: dereferencing pointer to incomplete type if_iwn.c:490: warning: passing argument 1 of 'iwn_alloc_tx_ring' from incompatible pointer type if_iwn.c:500: error: dereferencing pointer to incomplete type if_iwn.c:500: warning: passing argument 1 of 'iwn_alloc_rx_ring' from incompatible pointer type if_iwn.c:508: warning: implicit declaration of function 'IWN_WRITE' if_iwn.c:508: warning: nested extern declaration of 'IWN_WRITE' if_iwn.c:508: error: 'IWN_INT' undeclared (first use in this function) if_iwn.c:511: error: dereferencing pointer to incomplete type if_iwn.c:512: error: dereferencing pointer to incomplete type if_iwn.c:513: error: dereferencing pointer to incomplete type if_iwn.c:514: error: dereferencing pointer to incomplete type if_iwn.c:515: error: dereferencing pointer to incomplete type if_iwn.c:516: error: dereferencing pointer to incomplete type if_iwn.c:517: error: dereferencing pointer to incomplete type if_iwn.c:518: error: dereferencing pointer to incomplete type if_iwn.c:520: error: dereferencing pointer to incomplete type if_iwn.c:520: warning: implicit declaration of function 'if_alloc' if_iwn.c:520: warning: nested extern declaration of 'if_alloc' if_iwn.c:525: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:527: error: dereferencing pointer to incomplete type if_iwn.c:528: error: dereferencing pointer to incomplete type if_iwn.c:528: error: 'IEEE80211_T_OFDM' undeclared (first use in this function) if_iwn.c:529: error: dereferencing pointer to incomplete type if_iwn.c:529: error: 'IEEE80211_M_STA' undeclared (first use in this function) if_iwn.c:532: error: dereferencing pointer to incomplete type if_iwn.c:533: error: 'IEEE80211_C_STA' undeclared (first use in this function) if_iwn.c:534: error: 'IEEE80211_C_MONITOR' undeclared (first use in this function) if_iwn.c:535: error: 'IEEE80211_C_TXPMGT' undeclared (first use in this function) if_iwn.c:536: error: 'IEEE80211_C_SHSLOT' undeclared (first use in this function) if_iwn.c:537: error: 'IEEE80211_C_WPA' undeclared (first use in this function) if_iwn.c:538: error: 'IEEE80211_C_SHPREAMBLE' undeclared (first use in this function) if_iwn.c:539: error: 'IEEE80211_C_BGSCAN' undeclared (first use in this function) if_iwn.c:543: error: 'IEEE80211_C_WME' undeclared (first use in this function) if_iwn.c:574: warning: passing argument 1 of 'iwn_read_eeprom' from incompatible pointer type if_iwn.c:574: error: type of formal parameter 2 is incomplete if_iwn.c:581: error: dereferencing pointer to incomplete type if_iwn.c:582: error: dereferencing pointer to incomplete type if_iwn.c:582: error: dereferencing pointer to incomplete type if_iwn.c:582: error: dereferencing pointer to incomplete type if_iwn.c:583: warning: ethernet address is not type unsigned char * (arg 6) if_iwn.c:598: warning: assignment from incompatible pointer type if_iwn.c:600: warning: implicit declaration of function 'IFQ_SET_MAXLEN' if_iwn.c:600: warning: nested extern declaration of 'IFQ_SET_MAXLEN' if_iwn.c:601: error: 'struct ifaltq' has no member named 'ifq_drv_maxlen' if_iwn.c:602: warning: implicit declaration of function 'IFQ_SET_READY' if_iwn.c:602: warning: nested extern declaration of 'IFQ_SET_READY' if_iwn.c:604: warning: implicit declaration of function 'ieee80211_ifattach' if_iwn.c:604: warning: nested extern declaration of 'ieee80211_ifattach' if_iwn.c:605: error: dereferencing pointer to incomplete type if_iwn.c:606: error: dereferencing pointer to incomplete type if_iwn.c:607: error: dereferencing pointer to incomplete type if_iwn.c:608: error: dereferencing pointer to incomplete type if_iwn.c:609: error: dereferencing pointer to incomplete type if_iwn.c:610: error: dereferencing pointer to incomplete type if_iwn.c:611: error: dereferencing pointer to incomplete type if_iwn.c:612: error: dereferencing pointer to incomplete type if_iwn.c:613: error: dereferencing pointer to incomplete type if_iwn.c:614: error: dereferencing pointer to incomplete type if_iwn.c:615: error: dereferencing pointer to incomplete type if_iwn.c:616: error: dereferencing pointer to incomplete type if_iwn.c:617: error: dereferencing pointer to incomplete type if_iwn.c:625: warning: passing argument 1 of 'iwn_radiotap_attach' from incompatible pointer type if_iwn.c:626: warning: passing argument 1 of 'iwn_sysctlattach' from incompatible pointer type if_iwn.c:631: error: dereferencing pointer to incomplete type if_iwn.c:631: error: 'INTR_TYPE_NET' undeclared (first use in this function) if_iwn.c:632: error: dereferencing pointer to incomplete type if_iwn.c:632: warning: passing argument 6 of 'bus_setup_intr' from incompatible pointer type if_iwn.c:639: warning: implicit declaration of function 'ieee80211_announce' if_iwn.c:639: warning: nested extern declaration of 'ieee80211_announce' if_iwn.c:382: warning: unused variable 'macaddr' if_iwn.c: At top level: if_iwn.c:647: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:648: error: conflicting types for 'iwn_hal_attach' if_iwn.c:77: error: previous declaration of 'iwn_hal_attach' was here if_iwn.c: In function 'iwn_hal_attach': if_iwn.c:649: error: dereferencing pointer to incomplete type if_iwn.c:649: warning: implicit declaration of function 'IWN_READ' if_iwn.c:649: warning: nested extern declaration of 'IWN_READ' if_iwn.c:649: error: 'IWN_HW_REV' undeclared (first use in this function) if_iwn.c:651: error: dereferencing pointer to incomplete type if_iwn.c:652: error: 'IWN_HW_REV_TYPE_4965' undeclared (first use in this function) if_iwn.c:653: error: dereferencing pointer to incomplete type if_iwn.c:654: error: dereferencing pointer to incomplete type if_iwn.c:654: error: 'iwn4965_sensitivity_limits' undeclared (first use in this function) if_iwn.c:655: error: dereferencing pointer to incomplete type if_iwn.c:656: error: dereferencing pointer to incomplete type if_iwn.c:656: error: 'IWN_ANT_AB' undeclared (first use in this function) if_iwn.c:657: error: dereferencing pointer to incomplete type if_iwn.c:657: error: 'IWN_ANT_ABC' undeclared (first use in this function) if_iwn.c:659: error: 'IWN_HW_REV_TYPE_5100' undeclared (first use in this function) if_iwn.c:660: error: dereferencing pointer to incomplete type if_iwn.c:661: error: dereferencing pointer to incomplete type if_iwn.c:661: error: 'iwn5000_sensitivity_limits' undeclared (first use in this function) if_iwn.c:662: error: dereferencing pointer to incomplete type if_iwn.c:663: error: dereferencing pointer to incomplete type if_iwn.c:663: error: 'IWN_ANT_B' undeclared (first use in this function) if_iwn.c:664: error: dereferencing pointer to incomplete type if_iwn.c:666: error: 'IWN_HW_REV_TYPE_5150' undeclared (first use in this function) if_iwn.c:667: error: dereferencing pointer to incomplete type if_iwn.c:668: error: dereferencing pointer to incomplete type if_iwn.c:668: error: 'iwn5150_sensitivity_limits' undeclared (first use in this function) if_iwn.c:669: error: dereferencing pointer to incomplete type if_iwn.c:670: error: dereferencing pointer to incomplete type if_iwn.c:670: error: 'IWN_ANT_A' undeclared (first use in this function) if_iwn.c:671: error: dereferencing pointer to incomplete type if_iwn.c:673: error: 'IWN_HW_REV_TYPE_5300' undeclared (first use in this function) if_iwn.c:674: error: 'IWN_HW_REV_TYPE_5350' undeclared (first use in this function) if_iwn.c:675: error: dereferencing pointer to incomplete type if_iwn.c:676: error: dereferencing pointer to incomplete type if_iwn.c:677: error: dereferencing pointer to incomplete type if_iwn.c:678: error: dereferencing pointer to incomplete type if_iwn.c:679: error: dereferencing pointer to incomplete type if_iwn.c:681: error: 'IWN_HW_REV_TYPE_1000' undeclared (first use in this function) if_iwn.c:682: error: dereferencing pointer to incomplete type if_iwn.c:683: error: dereferencing pointer to incomplete type if_iwn.c:684: error: dereferencing pointer to incomplete type if_iwn.c:685: error: dereferencing pointer to incomplete type if_iwn.c:686: error: dereferencing pointer to incomplete type if_iwn.c:688: error: 'IWN_HW_REV_TYPE_6000' undeclared (first use in this function) if_iwn.c:689: error: dereferencing pointer to incomplete type if_iwn.c:690: error: dereferencing pointer to incomplete type if_iwn.c:690: error: 'iwn6000_sensitivity_limits' undeclared (first use in this function) if_iwn.c:691: error: dereferencing pointer to incomplete type if_iwn.c:692: error: dereferencing pointer to incomplete type if_iwn.c:695: error: dereferencing pointer to incomplete type if_iwn.c:695: error: 'IWN_FLAG_INTERNAL_PA' undeclared (first use in this function) if_iwn.c:696: error: dereferencing pointer to incomplete type if_iwn.c:696: error: 'IWN_ANT_BC' undeclared (first use in this function) if_iwn.c:697: error: dereferencing pointer to incomplete type if_iwn.c:700: error: dereferencing pointer to incomplete type if_iwn.c:701: error: dereferencing pointer to incomplete type if_iwn.c:705: error: 'IWN_HW_REV_TYPE_6050' undeclared (first use in this function) if_iwn.c:706: error: dereferencing pointer to incomplete type if_iwn.c:707: error: dereferencing pointer to incomplete type if_iwn.c:708: error: dereferencing pointer to incomplete type if_iwn.c:709: error: dereferencing pointer to incomplete type if_iwn.c:710: error: dereferencing pointer to incomplete type if_iwn.c:713: error: dereferencing pointer to incomplete type if_iwn.c:714: error: dereferencing pointer to incomplete type if_iwn.c:717: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:724: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:725: error: conflicting types for 'iwn_radiotap_attach' if_iwn.c:78: error: previous declaration of 'iwn_radiotap_attach' was here if_iwn.c: In function 'iwn_radiotap_attach': if_iwn.c:726: error: dereferencing pointer to incomplete type if_iwn.c:727: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:729: warning: implicit declaration of function 'ieee80211_radiotap_attach' if_iwn.c:729: warning: nested extern declaration of 'ieee80211_radiotap_attach' if_iwn.c:730: error: dereferencing pointer to incomplete type if_iwn.c:730: error: dereferencing pointer to incomplete type if_iwn.c:731: error: 'IWN_TX_RADIOTAP_PRESENT' undeclared (first use in this function) if_iwn.c:732: error: dereferencing pointer to incomplete type if_iwn.c:732: error: dereferencing pointer to incomplete type if_iwn.c:733: error: 'IWN_RX_RADIOTAP_PRESENT' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:739: error: 'IEEE80211_ADDR_LEN' undeclared here (not in a function) if_iwn.c:740: warning: 'struct ieee80211com' declared inside parameter list if_iwn.c:741: error: conflicting types for 'iwn_vap_create' if_iwn.c:82: error: previous declaration of 'iwn_vap_create' was here if_iwn.c: In function 'iwn_vap_create': if_iwn.c:745: error: dereferencing pointer to incomplete type if_iwn.c:747: warning: implicit declaration of function 'malloc' if_iwn.c:747: warning: nested extern declaration of 'malloc' if_iwn.c:747: error: invalid application of 'sizeof' to incomplete type 'struct iwn_vap' if_iwn.c:748: error: 'M_80211_VAP' undeclared (first use in this function) if_iwn.c:748: warning: cast to pointer from integer of different size if_iwn.c:751: error: dereferencing pointer to incomplete type if_iwn.c:752: warning: implicit declaration of function 'ieee80211_vap_setup' if_iwn.c:752: warning: nested extern declaration of 'ieee80211_vap_setup' if_iwn.c:753: error: dereferencing pointer to incomplete type if_iwn.c:755: error: dereferencing pointer to incomplete type if_iwn.c:755: error: dereferencing pointer to incomplete type if_iwn.c:756: error: dereferencing pointer to incomplete type if_iwn.c:758: warning: implicit declaration of function 'ieee80211_amrr_init' if_iwn.c:758: warning: nested extern declaration of 'ieee80211_amrr_init' if_iwn.c:758: error: dereferencing pointer to incomplete type if_iwn.c:759: error: 'IEEE80211_AMRR_MIN_SUCCESS_THRESHOLD' undeclared (first use in this function) if_iwn.c:760: error: 'IEEE80211_AMRR_MAX_SUCCESS_THRESHOLD' undeclared (first use in this function) if_iwn.c:764: warning: implicit declaration of function 'ieee80211_vap_attach' if_iwn.c:764: warning: nested extern declaration of 'ieee80211_vap_attach' if_iwn.c:764: error: 'ieee80211_media_change' undeclared (first use in this function) if_iwn.c:765: error: 'ieee80211_media_status' undeclared (first use in this function) if_iwn.c:766: error: dereferencing pointer to incomplete type if_iwn.c: In function 'iwn_vap_delete': if_iwn.c:773: warning: implicit declaration of function 'IWN_VAP' if_iwn.c:773: warning: nested extern declaration of 'IWN_VAP' if_iwn.c:773: warning: initialization makes pointer from integer without a cast if_iwn.c:775: warning: implicit declaration of function 'ieee80211_amrr_cleanup' if_iwn.c:775: warning: nested extern declaration of 'ieee80211_amrr_cleanup' if_iwn.c:775: error: dereferencing pointer to incomplete type if_iwn.c:776: warning: implicit declaration of function 'ieee80211_vap_detach' if_iwn.c:776: warning: nested extern declaration of 'ieee80211_vap_detach' if_iwn.c:777: warning: implicit declaration of function 'free' if_iwn.c:777: warning: nested extern declaration of 'free' if_iwn.c:777: error: 'M_80211_VAP' undeclared (first use in this function) if_iwn.c: In function 'iwn_cleanup': if_iwn.c:784: error: dereferencing pointer to incomplete type if_iwn.c:789: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:791: warning: implicit declaration of function 'ieee80211_draintask' if_iwn.c:791: warning: nested extern declaration of 'ieee80211_draintask' if_iwn.c:791: error: dereferencing pointer to incomplete type if_iwn.c:792: error: dereferencing pointer to incomplete type if_iwn.c:793: error: dereferencing pointer to incomplete type if_iwn.c:795: warning: passing argument 1 of 'iwn_stop' from incompatible pointer type if_iwn.c:796: warning: implicit declaration of function 'callout_drain' if_iwn.c:796: warning: nested extern declaration of 'callout_drain' if_iwn.c:796: error: dereferencing pointer to incomplete type if_iwn.c:797: warning: implicit declaration of function 'ieee80211_ifdetach' if_iwn.c:797: warning: nested extern declaration of 'ieee80211_ifdetach' if_iwn.c:801: error: dereferencing pointer to incomplete type if_iwn.c:801: warning: passing argument 1 of 'iwn_free_rx_ring' from incompatible pointer type if_iwn.c:802: error: dereferencing pointer to incomplete type if_iwn.c:803: error: dereferencing pointer to incomplete type if_iwn.c:804: error: dereferencing pointer to incomplete type if_iwn.c:804: warning: passing argument 1 of 'iwn_free_tx_ring' from incompatible pointer type if_iwn.c:805: warning: passing argument 1 of 'iwn_free_sched' from incompatible pointer type if_iwn.c:806: warning: passing argument 1 of 'iwn_free_kw' from incompatible pointer type if_iwn.c:807: error: dereferencing pointer to incomplete type if_iwn.c:808: warning: passing argument 1 of 'iwn_free_ict' from incompatible pointer type if_iwn.c:809: warning: passing argument 1 of 'iwn_free_fwmem' from incompatible pointer type if_iwn.c:811: error: dereferencing pointer to incomplete type if_iwn.c:812: error: dereferencing pointer to incomplete type if_iwn.c:812: error: dereferencing pointer to incomplete type if_iwn.c:813: error: dereferencing pointer to incomplete type if_iwn.c:813: error: dereferencing pointer to incomplete type if_iwn.c:814: error: dereferencing pointer to incomplete type if_iwn.c:815: warning: implicit declaration of function 'pci_release_msi' if_iwn.c:815: warning: nested extern declaration of 'pci_release_msi' if_iwn.c:818: error: dereferencing pointer to incomplete type if_iwn.c:819: error: dereferencing pointer to incomplete type if_iwn.c:819: error: dereferencing pointer to incomplete type if_iwn.c:822: warning: implicit declaration of function 'if_free' if_iwn.c:822: warning: nested extern declaration of 'if_free' if_iwn.c:824: warning: implicit declaration of function 'IWN_LOCK_DESTROY' if_iwn.c:824: warning: nested extern declaration of 'IWN_LOCK_DESTROY' if_iwn.c: At top level: if_iwn.c:836: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:837: error: conflicting types for 'iwn_nic_lock' if_iwn.c:86: error: previous declaration of 'iwn_nic_lock' was here if_iwn.c: In function 'iwn_nic_lock': if_iwn.c:841: warning: implicit declaration of function 'IWN_SETBITS' if_iwn.c:841: warning: nested extern declaration of 'IWN_SETBITS' if_iwn.c:841: error: 'IWN_GP_CNTRL' undeclared (first use in this function) if_iwn.c:841: error: 'IWN_GP_CNTRL_MAC_ACCESS_REQ' undeclared (first use in this function) if_iwn.c:846: error: 'IWN_GP_CNTRL_MAC_ACCESS_ENA' undeclared (first use in this function) if_iwn.c:846: error: 'IWN_GP_CNTRL_SLEEP' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:855: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_nic_unlock': if_iwn.c:857: warning: implicit declaration of function 'IWN_CLRBITS' if_iwn.c:857: warning: nested extern declaration of 'IWN_CLRBITS' if_iwn.c:857: error: 'IWN_GP_CNTRL' undeclared (first use in this function) if_iwn.c:857: error: 'IWN_GP_CNTRL_MAC_ACCESS_REQ' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:861: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_prph_read': if_iwn.c:863: error: 'IWN_PRPH_RADDR' undeclared (first use in this function) if_iwn.c:863: error: 'IWN_PRPH_DWORD' undeclared (first use in this function) if_iwn.c:864: warning: implicit declaration of function 'IWN_BARRIER_READ_WRITE' if_iwn.c:864: warning: nested extern declaration of 'IWN_BARRIER_READ_WRITE' if_iwn.c:865: error: 'IWN_PRPH_RDATA' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:869: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_prph_write': if_iwn.c:871: error: 'IWN_PRPH_WADDR' undeclared (first use in this function) if_iwn.c:871: error: 'IWN_PRPH_DWORD' undeclared (first use in this function) if_iwn.c:872: warning: implicit declaration of function 'IWN_BARRIER_WRITE' if_iwn.c:872: warning: nested extern declaration of 'IWN_BARRIER_WRITE' if_iwn.c:873: error: 'IWN_PRPH_WDATA' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:877: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_prph_setbits': if_iwn.c:879: warning: passing argument 1 of 'iwn_prph_read' from incompatible pointer type if_iwn.c:879: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:883: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_prph_clrbits': if_iwn.c:885: warning: passing argument 1 of 'iwn_prph_read' from incompatible pointer type if_iwn.c:885: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:890: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_prph_write_region_4': if_iwn.c:893: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:897: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_mem_read': if_iwn.c:899: error: 'IWN_MEM_RADDR' undeclared (first use in this function) if_iwn.c:901: error: 'IWN_MEM_RDATA' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:905: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_mem_write': if_iwn.c:907: error: 'IWN_MEM_WADDR' undeclared (first use in this function) if_iwn.c:909: error: 'IWN_MEM_WDATA' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:913: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_mem_write_2': if_iwn.c:917: warning: passing argument 1 of 'iwn_mem_read' from incompatible pointer type if_iwn.c:922: warning: passing argument 1 of 'iwn_mem_write' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:927: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_mem_read_region_4': if_iwn.c:930: warning: passing argument 1 of 'iwn_mem_read' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:935: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_mem_set_region_4': if_iwn.c:938: warning: passing argument 1 of 'iwn_mem_write' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:942: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:943: error: conflicting types for 'iwn_eeprom_lock' if_iwn.c:87: error: previous declaration of 'iwn_eeprom_lock' was here if_iwn.c: In function 'iwn_eeprom_lock': if_iwn.c:948: error: 'IWN_HW_IF_CONFIG' undeclared (first use in this function) if_iwn.c:949: error: 'IWN_HW_IF_CONFIG_EEPROM_LOCKED' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:963: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_eeprom_unlock': if_iwn.c:965: error: 'IWN_HW_IF_CONFIG' undeclared (first use in this function) if_iwn.c:965: error: 'IWN_HW_IF_CONFIG_EEPROM_LOCKED' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:973: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:974: error: conflicting types for 'iwn_init_otprom' if_iwn.c:88: error: previous declaration of 'iwn_init_otprom' was here if_iwn.c: In function 'iwn_init_otprom': if_iwn.c:980: warning: passing argument 1 of 'iwn_clock_wait' from incompatible pointer type if_iwn.c:984: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:987: error: 'IWN_APMG_PS' undeclared (first use in this function) if_iwn.c:987: error: 'IWN_APMG_PS_RESET_REQ' undeclared (first use in this function) if_iwn.c:987: warning: passing argument 1 of 'iwn_prph_setbits' from incompatible pointer type if_iwn.c:989: warning: passing argument 1 of 'iwn_prph_clrbits' from incompatible pointer type if_iwn.c:990: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:993: error: dereferencing pointer to incomplete type if_iwn.c:993: error: 'IWN_HW_REV_TYPE_1000' undeclared (first use in this function) if_iwn.c:994: error: 'IWN_DBG_LINK_PWR_MGMT' undeclared (first use in this function) if_iwn.c:995: error: 'IWN_RESET_LINK_PWR_MGMT_DIS' undeclared (first use in this function) if_iwn.c:997: error: 'IWN_EEPROM_GP' undeclared (first use in this function) if_iwn.c:997: error: 'IWN_EEPROM_GP_IF_OWNER' undeclared (first use in this function) if_iwn.c:999: error: 'IWN_OTP_GP' undeclared (first use in this function) if_iwn.c:1000: error: 'IWN_OTP_GP_ECC_CORR_STTS' undeclared (first use in this function) if_iwn.c:1000: error: 'IWN_OTP_GP_ECC_UNCORR_STTS' undeclared (first use in this function) if_iwn.c:1006: error: dereferencing pointer to incomplete type if_iwn.c:1008: error: 'IWN_OTP_GP_RELATIVE_ACCESS' undeclared (first use in this function) if_iwn.c:1010: error: 'IWN1000_OTP_NBLOCKS' undeclared (first use in this function) if_iwn.c:1011: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1021: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1027: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1028: error: conflicting types for 'iwn_read_prom_data' if_iwn.c:89: error: previous declaration of 'iwn_read_prom_data' was here if_iwn.c: In function 'iwn_read_prom_data': if_iwn.c:1033: error: dereferencing pointer to incomplete type if_iwn.c:1035: error: 'IWN_EEPROM' undeclared (first use in this function) if_iwn.c:1038: error: 'IWN_EEPROM_READ_VALID' undeclared (first use in this function) if_iwn.c:1043: error: dereferencing pointer to incomplete type if_iwn.c:1047: error: dereferencing pointer to incomplete type if_iwn.c:1047: error: 'IWN_FLAG_HAS_OTPROM' undeclared (first use in this function) if_iwn.c:1049: error: 'IWN_OTP_GP' undeclared (first use in this function) if_iwn.c:1050: error: 'IWN_OTP_GP_ECC_UNCORR_STTS' undeclared (first use in this function) if_iwn.c:1051: error: dereferencing pointer to incomplete type if_iwn.c:1055: error: 'IWN_OTP_GP_ECC_CORR_STTS' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:1079: warning: 'struct iwn_dma_info' declared inside parameter list if_iwn.c:1079: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1080: error: conflicting types for 'iwn_dma_contig_alloc' if_iwn.c:91: error: previous declaration of 'iwn_dma_contig_alloc' was here if_iwn.c: In function 'iwn_dma_contig_alloc': if_iwn.c:1083: error: dereferencing pointer to incomplete type if_iwn.c:1084: error: dereferencing pointer to incomplete type if_iwn.c:1086: warning: implicit declaration of function 'bus_get_dma_tag' if_iwn.c:1086: warning: nested extern declaration of 'bus_get_dma_tag' if_iwn.c:1086: error: dereferencing pointer to incomplete type if_iwn.c:1088: error: dereferencing pointer to incomplete type if_iwn.c:1088: warning: passing argument 1 of 'bus_dma_tag_create' makes pointer from integer without a cast if_iwn.c:1088: error: too many arguments to function 'bus_dma_tag_create' if_iwn.c:1090: error: dereferencing pointer to incomplete type if_iwn.c:1095: error: dereferencing pointer to incomplete type if_iwn.c:1095: error: dereferencing pointer to incomplete type if_iwn.c:1096: error: dereferencing pointer to incomplete type if_iwn.c:1098: error: dereferencing pointer to incomplete type if_iwn.c:1103: error: dereferencing pointer to incomplete type if_iwn.c:1103: error: dereferencing pointer to incomplete type if_iwn.c:1103: error: dereferencing pointer to incomplete type if_iwn.c:1104: error: dereferencing pointer to incomplete type if_iwn.c:1106: error: dereferencing pointer to incomplete type if_iwn.c:1112: error: dereferencing pointer to incomplete type if_iwn.c:1115: warning: passing argument 1 of 'iwn_dma_contig_free' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:1120: warning: 'struct iwn_dma_info' declared inside parameter list if_iwn.c:1121: error: conflicting types for 'iwn_dma_contig_free' if_iwn.c:92: error: previous declaration of 'iwn_dma_contig_free' was here if_iwn.c: In function 'iwn_dma_contig_free': if_iwn.c:1122: error: dereferencing pointer to incomplete type if_iwn.c:1123: error: dereferencing pointer to incomplete type if_iwn.c:1124: error: dereferencing pointer to incomplete type if_iwn.c:1125: error: dereferencing pointer to incomplete type if_iwn.c:1125: error: dereferencing pointer to incomplete type if_iwn.c:1125: error: dereferencing pointer to incomplete type if_iwn.c:1127: error: dereferencing pointer to incomplete type if_iwn.c:1127: error: dereferencing pointer to incomplete type if_iwn.c:1127: error: dereferencing pointer to incomplete type if_iwn.c:1129: error: dereferencing pointer to incomplete type if_iwn.c:1129: error: dereferencing pointer to incomplete type if_iwn.c:1129: error: dereferencing pointer to incomplete type if_iwn.c:1131: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1136: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1137: error: conflicting types for 'iwn_alloc_sched' if_iwn.c:93: error: previous declaration of 'iwn_alloc_sched' was here if_iwn.c: In function 'iwn_alloc_sched': if_iwn.c:1139: error: dereferencing pointer to incomplete type if_iwn.c:1140: error: dereferencing pointer to incomplete type if_iwn.c:1140: error: dereferencing pointer to incomplete type if_iwn.c:1140: warning: passing argument 1 of 'iwn_dma_contig_alloc' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:1144: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1145: error: conflicting types for 'iwn_free_sched' if_iwn.c:94: error: previous declaration of 'iwn_free_sched' was here if_iwn.c: In function 'iwn_free_sched': if_iwn.c:1146: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1150: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1151: error: conflicting types for 'iwn_alloc_kw' if_iwn.c:95: error: previous declaration of 'iwn_alloc_kw' was here if_iwn.c: In function 'iwn_alloc_kw': if_iwn.c:1153: error: dereferencing pointer to incomplete type if_iwn.c:1154: warning: passing argument 1 of 'iwn_dma_contig_alloc' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:1158: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1159: error: conflicting types for 'iwn_free_kw' if_iwn.c:96: error: previous declaration of 'iwn_free_kw' was here if_iwn.c: In function 'iwn_free_kw': if_iwn.c:1160: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1164: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1165: error: conflicting types for 'iwn_alloc_ict' if_iwn.c:97: error: previous declaration of 'iwn_alloc_ict' was here if_iwn.c: In function 'iwn_alloc_ict': if_iwn.c:1167: error: dereferencing pointer to incomplete type if_iwn.c:1168: error: dereferencing pointer to incomplete type if_iwn.c:1168: error: 'IWN_ICT_SIZE' undeclared (first use in this function) if_iwn.c:1168: warning: passing argument 1 of 'iwn_dma_contig_alloc' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:1172: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1173: error: conflicting types for 'iwn_free_ict' if_iwn.c:98: error: previous declaration of 'iwn_free_ict' was here if_iwn.c: In function 'iwn_free_ict': if_iwn.c:1174: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1178: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1179: error: conflicting types for 'iwn_alloc_fwmem' if_iwn.c:99: error: previous declaration of 'iwn_alloc_fwmem' was here if_iwn.c: In function 'iwn_alloc_fwmem': if_iwn.c:1181: error: dereferencing pointer to incomplete type if_iwn.c:1182: error: dereferencing pointer to incomplete type if_iwn.c:1182: warning: passing argument 1 of 'iwn_dma_contig_alloc' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:1186: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1187: error: conflicting types for 'iwn_free_fwmem' if_iwn.c:100: error: previous declaration of 'iwn_free_fwmem' was here if_iwn.c: In function 'iwn_free_fwmem': if_iwn.c:1188: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1192: warning: 'struct iwn_rx_ring' declared inside parameter list if_iwn.c:1192: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1193: error: conflicting types for 'iwn_alloc_rx_ring' if_iwn.c:101: error: previous declaration of 'iwn_alloc_rx_ring' was here if_iwn.c: In function 'iwn_alloc_rx_ring': if_iwn.c:1197: error: dereferencing pointer to incomplete type if_iwn.c:1200: error: 'IWN_RX_RING_COUNT' undeclared (first use in this function) if_iwn.c:1201: error: dereferencing pointer to incomplete type if_iwn.c:1202: error: dereferencing pointer to incomplete type if_iwn.c:1202: warning: passing argument 1 of 'iwn_dma_contig_alloc' from incompatible pointer type if_iwn.c:1204: error: dereferencing pointer to incomplete type if_iwn.c:1210: error: dereferencing pointer to incomplete type if_iwn.c:1213: error: dereferencing pointer to incomplete type if_iwn.c:1213: warning: passing argument 1 of 'bus_dma_tag_create' makes pointer from integer without a cast if_iwn.c:1213: error: too many arguments to function 'bus_dma_tag_create' if_iwn.c:1215: error: dereferencing pointer to incomplete type if_iwn.c:1222: error: dereferencing pointer to incomplete type if_iwn.c:1223: error: dereferencing pointer to incomplete type if_iwn.c:1223: error: invalid application of 'sizeof' to incomplete type 'struct iwn_rx_status' if_iwn.c:1224: warning: passing argument 1 of 'iwn_dma_contig_alloc' from incompatible pointer type if_iwn.c:1226: error: dereferencing pointer to incomplete type if_iwn.c:1236: error: dereferencing pointer to incomplete type if_iwn.c:1239: error: dereferencing pointer to incomplete type if_iwn.c:1239: error: dereferencing pointer to incomplete type if_iwn.c:1241: error: dereferencing pointer to incomplete type if_iwn.c:1247: error: dereferencing pointer to incomplete type if_iwn.c:1247: warning: implicit declaration of function 'm_getjcl' if_iwn.c:1247: warning: nested extern declaration of 'm_getjcl' if_iwn.c:1247: error: 'M_DONTWAIT' undeclared (first use in this function) if_iwn.c:1248: error: dereferencing pointer to incomplete type if_iwn.c:1249: error: dereferencing pointer to incomplete type if_iwn.c:1256: error: dereferencing pointer to incomplete type if_iwn.c:1256: error: dereferencing pointer to incomplete type if_iwn.c:1257: error: dereferencing pointer to incomplete type if_iwn.c:1260: error: dereferencing pointer to incomplete type if_iwn.c:1263: error: dereferencing pointer to incomplete type if_iwn.c:1267: error: dereferencing pointer to incomplete type if_iwn.c:1267: error: dereferencing pointer to incomplete type if_iwn.c:1267: error: dereferencing pointer to incomplete type if_iwn.c:1271: error: dereferencing pointer to incomplete type if_iwn.c:1273: error: dereferencing pointer to incomplete type if_iwn.c:1273: error: dereferencing pointer to incomplete type if_iwn.c:1273: error: dereferencing pointer to incomplete type if_iwn.c:1277: warning: passing argument 1 of 'iwn_free_rx_ring' from incompatible pointer type if_iwn.c:1277: warning: passing argument 2 of 'iwn_free_rx_ring' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:1282: warning: 'struct iwn_rx_ring' declared inside parameter list if_iwn.c:1282: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1283: error: conflicting types for 'iwn_reset_rx_ring' if_iwn.c:102: error: previous declaration of 'iwn_reset_rx_ring' was here if_iwn.c: In function 'iwn_reset_rx_ring': if_iwn.c:1286: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:1287: error: 'IWN_FH_RX_CONFIG' undeclared (first use in this function) if_iwn.c:1289: error: 'IWN_FH_RX_STATUS' undeclared (first use in this function) if_iwn.c:1290: error: 'IWN_FH_RX_STATUS_IDLE' undeclared (first use in this function) if_iwn.c:1294: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:1297: error: dereferencing pointer to incomplete type if_iwn.c:1301: error: dereferencing pointer to incomplete type if_iwn.c:1302: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1306: warning: 'struct iwn_rx_ring' declared inside parameter list if_iwn.c:1306: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1307: error: conflicting types for 'iwn_free_rx_ring' if_iwn.c:103: error: previous declaration of 'iwn_free_rx_ring' was here if_iwn.c: In function 'iwn_free_rx_ring': if_iwn.c:1310: error: dereferencing pointer to incomplete type if_iwn.c:1311: error: dereferencing pointer to incomplete type if_iwn.c:1313: error: 'IWN_RX_RING_COUNT' undeclared (first use in this function) if_iwn.c:1314: error: dereferencing pointer to incomplete type if_iwn.c:1316: error: dereferencing pointer to incomplete type if_iwn.c:1317: error: dereferencing pointer to incomplete type if_iwn.c:1317: error: dereferencing pointer to incomplete type if_iwn.c:1317: error: dereferencing pointer to incomplete type if_iwn.c:1319: error: dereferencing pointer to incomplete type if_iwn.c:1319: error: dereferencing pointer to incomplete type if_iwn.c:1319: error: dereferencing pointer to incomplete type if_iwn.c:1320: error: dereferencing pointer to incomplete type if_iwn.c:1322: error: dereferencing pointer to incomplete type if_iwn.c:1323: error: dereferencing pointer to incomplete type if_iwn.c:1323: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1328: warning: 'struct iwn_tx_ring' declared inside parameter list if_iwn.c:1328: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1329: error: conflicting types for 'iwn_alloc_tx_ring' if_iwn.c:105: error: previous declaration of 'iwn_alloc_tx_ring' was here if_iwn.c: In function 'iwn_alloc_tx_ring': if_iwn.c:1334: error: dereferencing pointer to incomplete type if_iwn.c:1335: error: dereferencing pointer to incomplete type if_iwn.c:1336: error: dereferencing pointer to incomplete type if_iwn.c:1339: error: 'IWN_TX_RING_COUNT' undeclared (first use in this function) if_iwn.c:1339: error: invalid application of 'sizeof' to incomplete type 'struct iwn_tx_desc' if_iwn.c:1340: error: dereferencing pointer to incomplete type if_iwn.c:1341: error: dereferencing pointer to incomplete type if_iwn.c:1341: warning: passing argument 1 of 'iwn_dma_contig_alloc' from incompatible pointer type if_iwn.c:1343: error: dereferencing pointer to incomplete type if_iwn.c:1356: error: invalid application of 'sizeof' to incomplete type 'struct iwn_tx_cmd' if_iwn.c:1357: error: dereferencing pointer to incomplete type if_iwn.c:1358: error: dereferencing pointer to incomplete type if_iwn.c:1358: warning: passing argument 1 of 'iwn_dma_contig_alloc' from incompatible pointer type if_iwn.c:1360: error: dereferencing pointer to incomplete type if_iwn.c:1366: error: dereferencing pointer to incomplete type if_iwn.c:1368: error: 'IWN_MAX_SCATTER' undeclared (first use in this function) if_iwn.c:1369: error: dereferencing pointer to incomplete type if_iwn.c:1369: warning: passing argument 1 of 'bus_dma_tag_create' makes pointer from integer without a cast if_iwn.c:1369: error: too many arguments to function 'bus_dma_tag_create' if_iwn.c:1371: error: dereferencing pointer to incomplete type if_iwn.c:1377: error: dereferencing pointer to incomplete type if_iwn.c:1379: error: dereferencing pointer to incomplete type if_iwn.c:1381: error: dereferencing pointer to incomplete type if_iwn.c:1382: error: dereferencing pointer to incomplete type if_iwn.c:1383: error: invalid application of 'sizeof' to incomplete type 'struct iwn_tx_cmd' if_iwn.c:1385: error: dereferencing pointer to incomplete type if_iwn.c:1385: error: dereferencing pointer to incomplete type if_iwn.c:1387: error: dereferencing pointer to incomplete type if_iwn.c:1392: error: dereferencing pointer to incomplete type if_iwn.c:1392: error: dereferencing pointer to incomplete type if_iwn.c:1392: error: dereferencing pointer to incomplete type if_iwn.c:1397: warning: passing argument 1 of 'iwn_free_tx_ring' from incompatible pointer type if_iwn.c:1397: warning: passing argument 2 of 'iwn_free_tx_ring' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:1402: warning: 'struct iwn_tx_ring' declared inside parameter list if_iwn.c:1402: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1403: error: conflicting types for 'iwn_reset_tx_ring' if_iwn.c:106: error: previous declaration of 'iwn_reset_tx_ring' was here if_iwn.c: In function 'iwn_reset_tx_ring': if_iwn.c:1406: error: 'IWN_TX_RING_COUNT' undeclared (first use in this function) if_iwn.c:1407: error: dereferencing pointer to incomplete type if_iwn.c:1409: error: dereferencing pointer to incomplete type if_iwn.c:1410: error: dereferencing pointer to incomplete type if_iwn.c:1410: error: dereferencing pointer to incomplete type if_iwn.c:1410: error: dereferencing pointer to incomplete type if_iwn.c:1411: error: dereferencing pointer to incomplete type if_iwn.c:1412: error: dereferencing pointer to incomplete type if_iwn.c:1416: error: dereferencing pointer to incomplete type if_iwn.c:1416: error: dereferencing pointer to incomplete type if_iwn.c:1417: error: dereferencing pointer to incomplete type if_iwn.c:1417: error: dereferencing pointer to incomplete type if_iwn.c:1417: error: dereferencing pointer to incomplete type if_iwn.c:1419: error: dereferencing pointer to incomplete type if_iwn.c:1419: error: dereferencing pointer to incomplete type if_iwn.c:1420: error: dereferencing pointer to incomplete type if_iwn.c:1421: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1425: warning: 'struct iwn_tx_ring' declared inside parameter list if_iwn.c:1425: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1426: error: conflicting types for 'iwn_free_tx_ring' if_iwn.c:107: error: previous declaration of 'iwn_free_tx_ring' was here if_iwn.c: In function 'iwn_free_tx_ring': if_iwn.c:1429: error: dereferencing pointer to incomplete type if_iwn.c:1430: error: dereferencing pointer to incomplete type if_iwn.c:1432: error: 'IWN_TX_RING_COUNT' undeclared (first use in this function) if_iwn.c:1433: error: dereferencing pointer to incomplete type if_iwn.c:1435: error: dereferencing pointer to incomplete type if_iwn.c:1436: error: dereferencing pointer to incomplete type if_iwn.c:1436: error: dereferencing pointer to incomplete type if_iwn.c:1436: error: dereferencing pointer to incomplete type if_iwn.c:1438: error: dereferencing pointer to incomplete type if_iwn.c:1438: error: dereferencing pointer to incomplete type if_iwn.c:1438: error: dereferencing pointer to incomplete type if_iwn.c:1439: error: dereferencing pointer to incomplete type if_iwn.c:1441: error: dereferencing pointer to incomplete type if_iwn.c:1442: error: dereferencing pointer to incomplete type if_iwn.c:1442: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1447: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1448: error: conflicting types for 'iwn5000_ict_reset' if_iwn.c:108: error: previous declaration of 'iwn5000_ict_reset' was here if_iwn.c: In function 'iwn5000_ict_reset': if_iwn.c:1450: error: 'IWN_INT_MASK' undeclared (first use in this function) if_iwn.c:1453: error: dereferencing pointer to incomplete type if_iwn.c:1453: error: 'IWN_ICT_SIZE' undeclared (first use in this function) if_iwn.c:1454: error: dereferencing pointer to incomplete type if_iwn.c:1457: error: dereferencing pointer to incomplete type if_iwn.c:1458: error: 'IWN_DRAM_INT_TBL' undeclared (first use in this function) if_iwn.c:1458: error: 'IWN_DRAM_INT_TBL_ENABLE' undeclared (first use in this function) if_iwn.c:1459: error: 'IWN_DRAM_INT_TBL_WRAP_CHECK' undeclared (first use in this function) if_iwn.c:1459: error: dereferencing pointer to incomplete type if_iwn.c:1462: error: dereferencing pointer to incomplete type if_iwn.c:1462: error: 'IWN_INT_RX_PERIODIC' undeclared (first use in this function) if_iwn.c:1464: error: dereferencing pointer to incomplete type if_iwn.c:1464: error: 'IWN_FLAG_USE_ICT' undeclared (first use in this function) if_iwn.c:1467: error: 'IWN_INT' undeclared (first use in this function) if_iwn.c:1468: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1472: error: 'IEEE80211_ADDR_LEN' undeclared here (not in a function) if_iwn.c:1472: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1473: error: conflicting types for 'iwn_read_eeprom' if_iwn.c:110: error: previous declaration of 'iwn_read_eeprom' was here if_iwn.c: In function 'iwn_read_eeprom': if_iwn.c:1474: error: dereferencing pointer to incomplete type if_iwn.c:1479: error: dereferencing pointer to incomplete type if_iwn.c:1479: error: 'IWN_HW_REV_TYPE_1000' undeclared (first use in this function) if_iwn.c:1480: error: 'IWN_OTP_GP' undeclared (first use in this function) if_iwn.c:1480: error: 'IWN_OTP_GP_DEV_SEL_OTP' undeclared (first use in this function) if_iwn.c:1481: error: dereferencing pointer to incomplete type if_iwn.c:1481: error: 'IWN_FLAG_HAS_OTPROM' undeclared (first use in this function) if_iwn.c:1482: error: dereferencing pointer to incomplete type if_iwn.c:1482: error: dereferencing pointer to incomplete type if_iwn.c:1486: warning: passing argument 1 of 'iwn_apm_init' from incompatible pointer type if_iwn.c:1488: error: dereferencing pointer to incomplete type if_iwn.c:1494: error: 'IWN_EEPROM_GP' undeclared (first use in this function) if_iwn.c:1495: error: dereferencing pointer to incomplete type if_iwn.c:1498: warning: passing argument 1 of 'iwn_eeprom_lock' from incompatible pointer type if_iwn.c:1500: error: dereferencing pointer to incomplete type if_iwn.c:1506: error: dereferencing pointer to incomplete type if_iwn.c:1507: warning: passing argument 1 of 'iwn_init_otprom' from incompatible pointer type if_iwn.c:1509: error: dereferencing pointer to incomplete type if_iwn.c:1516: error: 'IWN_EEPROM_RFCFG' undeclared (first use in this function) if_iwn.c:1516: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1517: error: dereferencing pointer to incomplete type if_iwn.c:1518: error: dereferencing pointer to incomplete type if_iwn.c:1518: error: dereferencing pointer to incomplete type if_iwn.c:1521: error: 'IWN_EEPROM_MAC' undeclared (first use in this function) if_iwn.c:1521: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1524: error: dereferencing pointer to incomplete type if_iwn.c:1526: warning: passing argument 1 of 'iwn_apm_stop' from incompatible pointer type if_iwn.c:1528: warning: passing argument 1 of 'iwn_eeprom_unlock' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:1533: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1534: error: conflicting types for 'iwn4965_read_eeprom' if_iwn.c:111: error: previous declaration of 'iwn4965_read_eeprom' was here if_iwn.c: In function 'iwn4965_read_eeprom': if_iwn.c:1540: error: 'IWN4965_EEPROM_DOMAIN' undeclared (first use in this function) if_iwn.c:1540: error: dereferencing pointer to incomplete type if_iwn.c:1540: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1544: error: 'iwn4965_regulatory_bands' undeclared (first use in this function) if_iwn.c:1545: warning: passing argument 1 of 'iwn_read_eeprom_channels' from incompatible pointer type if_iwn.c:1549: error: 'IWN4965_EEPROM_MAXPOW' undeclared (first use in this function) if_iwn.c:1549: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1550: error: dereferencing pointer to incomplete type if_iwn.c:1551: error: dereferencing pointer to incomplete type if_iwn.c:1553: error: dereferencing pointer to incomplete type if_iwn.c:1553: error: dereferencing pointer to incomplete type if_iwn.c:1554: error: dereferencing pointer to incomplete type if_iwn.c:1555: error: dereferencing pointer to incomplete type if_iwn.c:1555: error: dereferencing pointer to incomplete type if_iwn.c:1556: error: dereferencing pointer to incomplete type if_iwn.c:1557: error: dereferencing pointer to incomplete type if_iwn.c:1557: error: dereferencing pointer to incomplete type if_iwn.c:1557: error: dereferencing pointer to incomplete type if_iwn.c:1561: error: 'IWN4965_EEPROM_BANDS' undeclared (first use in this function) if_iwn.c:1561: error: dereferencing pointer to incomplete type if_iwn.c:1562: error: dereferencing pointer to incomplete type if_iwn.c:1562: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1565: error: 'IWN4965_EEPROM_VOLTAGE' undeclared (first use in this function) if_iwn.c:1565: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1566: error: dereferencing pointer to incomplete type if_iwn.c:1567: error: dereferencing pointer to incomplete type if_iwn.c:1567: error: dereferencing pointer to incomplete type if_iwn.c:1572: error: dereferencing pointer to incomplete type if_iwn.c:1573: error: 'IWN_NBANDS' undeclared (first use in this function) if_iwn.c:1574: warning: passing argument 1 of 'iwn4965_print_power_group' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:1581: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1582: error: conflicting types for 'iwn4965_print_power_group' if_iwn.c:112: error: previous declaration of 'iwn4965_print_power_group' was here if_iwn.c: In function 'iwn4965_print_power_group': if_iwn.c:1583: error: dereferencing pointer to incomplete type if_iwn.c:1584: error: dereferencing pointer to incomplete type if_iwn.c:1588: error: dereferencing pointer to incomplete type if_iwn.c:1588: error: dereferencing pointer to incomplete type if_iwn.c:1589: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:1589: error: dereferencing pointer to incomplete type if_iwn.c:1591: error: 'IWN_NSAMPLES' undeclared (first use in this function) if_iwn.c:1594: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:1594: error: dereferencing pointer to incomplete type if_iwn.c:1595: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:1595: error: dereferencing pointer to incomplete type if_iwn.c:1596: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:1596: error: dereferencing pointer to incomplete type if_iwn.c:1597: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:1597: error: dereferencing pointer to incomplete type if_iwn.c:1600: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:1600: error: dereferencing pointer to incomplete type if_iwn.c:1605: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:1605: error: dereferencing pointer to incomplete type if_iwn.c:1606: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:1606: error: dereferencing pointer to incomplete type if_iwn.c:1607: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:1607: error: dereferencing pointer to incomplete type if_iwn.c:1608: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:1608: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1615: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1616: error: conflicting types for 'iwn5000_read_eeprom' if_iwn.c:113: error: previous declaration of 'iwn5000_read_eeprom' was here if_iwn.c: In function 'iwn5000_read_eeprom': if_iwn.c:1623: error: 'IWN5000_EEPROM_REG' undeclared (first use in this function) if_iwn.c:1623: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1625: error: 'IWN5000_EEPROM_DOMAIN' undeclared (first use in this function) if_iwn.c:1626: error: dereferencing pointer to incomplete type if_iwn.c:1626: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1630: error: 'iwn5000_regulatory_bands' undeclared (first use in this function) if_iwn.c:1631: warning: passing argument 1 of 'iwn_read_eeprom_channels' from incompatible pointer type if_iwn.c:1635: error: dereferencing pointer to incomplete type if_iwn.c:1635: error: 'IWN_HW_REV_TYPE_6000' undeclared (first use in this function) if_iwn.c:1636: warning: passing argument 1 of 'iwn_read_eeprom_enhinfo' from incompatible pointer type if_iwn.c:1638: error: 'IWN5000_EEPROM_CAL' undeclared (first use in this function) if_iwn.c:1638: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1640: error: dereferencing pointer to incomplete type if_iwn.c:1640: error: 'IWN_HW_REV_TYPE_5150' undeclared (first use in this function) if_iwn.c:1642: error: 'IWN5000_EEPROM_TEMP' undeclared (first use in this function) if_iwn.c:1642: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1644: error: 'IWN5000_EEPROM_VOLT' undeclared (first use in this function) if_iwn.c:1644: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1646: error: dereferencing pointer to incomplete type if_iwn.c:1647: error: dereferencing pointer to incomplete type if_iwn.c:1647: error: dereferencing pointer to incomplete type if_iwn.c:1651: error: 'IWN5000_EEPROM_CRYSTAL' undeclared (first use in this function) if_iwn.c:1652: error: dereferencing pointer to incomplete type if_iwn.c:1652: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1653: error: dereferencing pointer to incomplete type if_iwn.c:1653: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1662: warning: 'struct iwn_eeprom_chan' declared inside parameter list if_iwn.c: In function 'iwn_eeprom_channel_flags': if_iwn.c:1667: error: dereferencing pointer to incomplete type if_iwn.c:1667: error: 'IWN_EEPROM_CHAN_ACTIVE' undeclared (first use in this function) if_iwn.c:1668: error: 'IEEE80211_CHAN_PASSIVE' undeclared (first use in this function) if_iwn.c:1669: error: dereferencing pointer to incomplete type if_iwn.c:1669: error: 'IWN_EEPROM_CHAN_IBSS' undeclared (first use in this function) if_iwn.c:1670: error: 'IEEE80211_CHAN_NOADHOC' undeclared (first use in this function) if_iwn.c:1671: error: dereferencing pointer to incomplete type if_iwn.c:1671: error: 'IWN_EEPROM_CHAN_RADAR' undeclared (first use in this function) if_iwn.c:1672: error: 'IEEE80211_CHAN_DFS' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:1681: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_read_eeprom_band': if_iwn.c:1683: error: dereferencing pointer to incomplete type if_iwn.c:1684: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:1685: error: dereferencing pointer to incomplete type if_iwn.c:1686: error: 'iwn_bands' undeclared (first use in this function) if_iwn.c:1690: error: dereferencing pointer to incomplete type if_iwn.c:1691: error: invalid use of undefined type 'struct iwn_eeprom_chan' if_iwn.c:1691: error: dereferencing pointer to incomplete type if_iwn.c:1691: error: 'IWN_EEPROM_CHAN_VALID' undeclared (first use in this function) if_iwn.c:1692: error: dereferencing pointer to incomplete type if_iwn.c:1692: error: dereferencing pointer to incomplete type if_iwn.c:1692: error: invalid use of undefined type 'struct iwn_eeprom_chan' if_iwn.c:1692: error: dereferencing pointer to incomplete type if_iwn.c:1692: error: invalid use of undefined type 'struct iwn_eeprom_chan' if_iwn.c:1692: error: dereferencing pointer to incomplete type if_iwn.c:1698: error: dereferencing pointer to incomplete type if_iwn.c:1699: error: invalid use of undefined type 'struct iwn_eeprom_chan' if_iwn.c:1699: error: dereferencing pointer to incomplete type if_iwn.c:1701: error: dereferencing pointer to incomplete type if_iwn.c:1701: error: invalid use of undefined type 'struct iwn_eeprom_chan' if_iwn.c:1701: error: dereferencing pointer to incomplete type if_iwn.c:1701: error: invalid use of undefined type 'struct iwn_eeprom_chan' if_iwn.c:1701: error: dereferencing pointer to incomplete type if_iwn.c:1705: error: dereferencing pointer to incomplete type if_iwn.c:1705: error: dereferencing pointer to incomplete type if_iwn.c:1706: error: dereferencing pointer to incomplete type if_iwn.c:1707: error: dereferencing pointer to incomplete type if_iwn.c:1707: error: invalid use of undefined type 'struct iwn_eeprom_chan' if_iwn.c:1707: error: dereferencing pointer to incomplete type if_iwn.c:1708: error: dereferencing pointer to incomplete type if_iwn.c:1708: error: dereferencing pointer to incomplete type if_iwn.c:1710: error: dereferencing pointer to incomplete type if_iwn.c:1710: warning: implicit declaration of function 'ieee80211_ieee2mhz' if_iwn.c:1710: warning: nested extern declaration of 'ieee80211_ieee2mhz' if_iwn.c:1711: error: 'IEEE80211_CHAN_G' undeclared (first use in this function) if_iwn.c:1714: error: dereferencing pointer to incomplete type if_iwn.c:1714: error: 'IEEE80211_CHAN_B' undeclared (first use in this function) if_iwn.c:1716: error: dereferencing pointer to incomplete type if_iwn.c:1716: error: dereferencing pointer to incomplete type if_iwn.c:1717: error: invalid use of undefined type 'struct ieee80211_channel' if_iwn.c:1717: error: dereferencing pointer to incomplete type if_iwn.c:1717: error: invalid use of undefined type 'struct ieee80211_channel' if_iwn.c:1717: error: dereferencing pointer to incomplete type if_iwn.c:1718: error: dereferencing pointer to incomplete type if_iwn.c:1720: error: dereferencing pointer to incomplete type if_iwn.c:1721: error: 'IEEE80211_CHAN_A' undeclared (first use in this function) if_iwn.c:1722: error: dereferencing pointer to incomplete type if_iwn.c:1723: error: dereferencing pointer to incomplete type if_iwn.c:1723: error: 'IWN_FLAG_HAS_5GHZ' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:1796: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1797: error: conflicting types for 'iwn_read_eeprom_channels' if_iwn.c:115: error: previous declaration of 'iwn_read_eeprom_channels' was here if_iwn.c: In function 'iwn_read_eeprom_channels': if_iwn.c:1798: error: dereferencing pointer to incomplete type if_iwn.c:1799: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:1801: error: dereferencing pointer to incomplete type if_iwn.c:1802: error: 'iwn_bands' undeclared (first use in this function) if_iwn.c:1802: error: invalid application of 'sizeof' to incomplete type 'struct iwn_eeprom_chan' if_iwn.c:1802: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1805: warning: passing argument 1 of 'iwn_read_eeprom_band' from incompatible pointer type if_iwn.c:1810: warning: implicit declaration of function 'ieee80211_sort_channels' if_iwn.c:1810: warning: nested extern declaration of 'ieee80211_sort_channels' if_iwn.c:1810: error: dereferencing pointer to incomplete type if_iwn.c:1810: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1816: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1817: error: conflicting types for 'iwn_read_eeprom_enhinfo' if_iwn.c:116: error: previous declaration of 'iwn_read_eeprom_enhinfo' was here if_iwn.c: In function 'iwn_read_eeprom_enhinfo': if_iwn.c:1818: error: array type has incomplete element type if_iwn.c:1823: error: 'IWN5000_EEPROM_REG' undeclared (first use in this function) if_iwn.c:1823: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1825: error: 'IWN6000_EEPROM_ENHINFO' undeclared (first use in this function) if_iwn.c:1826: warning: passing argument 1 of 'iwn_read_prom_data' from incompatible pointer type if_iwn.c:1828: error: dereferencing pointer to incomplete type if_iwn.c:1828: error: dereferencing pointer to incomplete type if_iwn.c:1834: error: dereferencing pointer to incomplete type if_iwn.c:1834: error: 'IWN_ANT_A' undeclared (first use in this function) if_iwn.c:1836: error: dereferencing pointer to incomplete type if_iwn.c:1836: error: 'IWN_ANT_B' undeclared (first use in this function) if_iwn.c:1838: error: dereferencing pointer to incomplete type if_iwn.c:1838: error: 'IWN_ANT_C' undeclared (first use in this function) if_iwn.c:1840: error: dereferencing pointer to incomplete type if_iwn.c:1842: error: dereferencing pointer to incomplete type if_iwn.c:1846: error: dereferencing pointer to incomplete type if_iwn.c:1848: error: dereferencing pointer to incomplete type if_iwn.c:1818: warning: unused variable 'enhinfo' if_iwn.c: At top level: if_iwn.c:1853: error: 'IEEE80211_ADDR_LEN' undeclared here (not in a function) if_iwn.c: In function 'iwn_node_alloc': if_iwn.c:1855: error: invalid application of 'sizeof' to incomplete type 'struct iwn_node' if_iwn.c:1855: error: 'M_80211_NODE' undeclared (first use in this function) if_iwn.c:1855: warning: return makes pointer from integer without a cast if_iwn.c: In function 'iwn_newassoc': if_iwn.c:1861: error: dereferencing pointer to incomplete type if_iwn.c:1864: warning: implicit declaration of function 'ieee80211_amrr_node_init' if_iwn.c:1864: warning: nested extern declaration of 'ieee80211_amrr_node_init' if_iwn.c:1864: error: invalid type argument of '->' if_iwn.c:1865: error: dereferencing pointer to incomplete type if_iwn.c: In function 'iwn_media_change': if_iwn.c:1871: warning: implicit declaration of function 'ieee80211_media_change' if_iwn.c:1871: warning: nested extern declaration of 'ieee80211_media_change' if_iwn.c: At top level: if_iwn.c:1877: warning: 'enum ieee80211_state' declared inside parameter list if_iwn.c:1877: error: parameter 2 ('nstate') has incomplete type if_iwn.c: In function 'iwn_newstate': if_iwn.c:1879: warning: initialization makes pointer from integer without a cast if_iwn.c:1880: error: dereferencing pointer to incomplete type if_iwn.c:1881: error: dereferencing pointer to incomplete type if_iwn.c:1884: error: dereferencing pointer to incomplete type if_iwn.c:1884: error: 'ieee80211_state_name' undeclared (first use in this function) if_iwn.c:1884: error: dereferencing pointer to incomplete type if_iwn.c:1888: warning: implicit declaration of function 'IEEE80211_UNLOCK' if_iwn.c:1888: warning: nested extern declaration of 'IEEE80211_UNLOCK' if_iwn.c:1889: warning: implicit declaration of function 'IWN_LOCK' if_iwn.c:1889: warning: nested extern declaration of 'IWN_LOCK' if_iwn.c:1890: error: dereferencing pointer to incomplete type if_iwn.c:1892: error: 'IEEE80211_S_AUTH' undeclared (first use in this function) if_iwn.c:1892: error: dereferencing pointer to incomplete type if_iwn.c:1895: error: dereferencing pointer to incomplete type if_iwn.c:1896: error: dereferencing pointer to incomplete type if_iwn.c:1896: error: 'IWN_FILTER_BSS' undeclared (first use in this function) if_iwn.c:1897: warning: passing argument 1 of 'iwn_calib_reset' from incompatible pointer type if_iwn.c:1898: warning: passing argument 1 of 'iwn_auth' from incompatible pointer type if_iwn.c:1900: error: 'IEEE80211_S_RUN' undeclared (first use in this function) if_iwn.c:1900: error: dereferencing pointer to incomplete type if_iwn.c:1906: warning: passing argument 1 of 'iwn_run' from incompatible pointer type if_iwn.c:1912: warning: passing argument 1 of 'iwn_calib_reset' from incompatible pointer type if_iwn.c:1914: warning: implicit declaration of function 'IWN_UNLOCK' if_iwn.c:1914: warning: nested extern declaration of 'IWN_UNLOCK' if_iwn.c:1915: warning: implicit declaration of function 'IEEE80211_LOCK' if_iwn.c:1915: warning: nested extern declaration of 'IEEE80211_LOCK' if_iwn.c:1916: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1925: warning: 'struct iwn_rx_data' declared inside parameter list if_iwn.c:1925: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:1925: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1926: error: conflicting types for 'iwn_rx_phy' if_iwn.c:123: error: previous declaration of 'iwn_rx_phy' was here if_iwn.c: In function 'iwn_rx_phy': if_iwn.c:1927: error: invalid use of undefined type 'struct iwn_rx_desc' if_iwn.c:1929: error: dereferencing pointer to incomplete type if_iwn.c:1930: error: dereferencing pointer to incomplete type if_iwn.c:1930: error: dereferencing pointer to incomplete type if_iwn.c:1930: error: dereferencing pointer to incomplete type if_iwn.c:1933: error: dereferencing pointer to incomplete type if_iwn.c:1933: error: dereferencing pointer to incomplete type if_iwn.c:1934: error: dereferencing pointer to incomplete type if_iwn.c: In function 'iwn_timer_timeout': if_iwn.c:1943: warning: implicit declaration of function 'IWN_LOCK_ASSERT' if_iwn.c:1943: warning: nested extern declaration of 'IWN_LOCK_ASSERT' if_iwn.c:1945: error: dereferencing pointer to incomplete type if_iwn.c:1945: error: dereferencing pointer to incomplete type if_iwn.c:1946: error: dereferencing pointer to incomplete type if_iwn.c:1948: error: 'IWN_CMD_GET_STATISTICS' undeclared (first use in this function) if_iwn.c:1949: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:1950: error: dereferencing pointer to incomplete type if_iwn.c:1952: warning: passing argument 1 of 'iwn_watchdog' from incompatible pointer type if_iwn.c:1953: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1957: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1958: error: conflicting types for 'iwn_calib_reset' if_iwn.c:125: error: previous declaration of 'iwn_calib_reset' was here if_iwn.c: In function 'iwn_calib_reset': if_iwn.c:1959: error: dereferencing pointer to incomplete type if_iwn.c:1960: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:1969: warning: 'struct iwn_rx_data' declared inside parameter list if_iwn.c:1969: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:1969: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:1970: error: conflicting types for 'iwn_rx_done' if_iwn.c:127: error: previous declaration of 'iwn_rx_done' was here if_iwn.c: In function 'iwn_rx_done': if_iwn.c:1971: error: dereferencing pointer to incomplete type if_iwn.c:1972: error: dereferencing pointer to incomplete type if_iwn.c:1973: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:1974: error: dereferencing pointer to incomplete type if_iwn.c:1984: error: dereferencing pointer to incomplete type if_iwn.c:1984: error: 'IWN_MPDU_RX_DONE' undeclared (first use in this function) if_iwn.c:1986: error: dereferencing pointer to incomplete type if_iwn.c:1987: error: dereferencing pointer to incomplete type if_iwn.c:1992: error: dereferencing pointer to incomplete type if_iwn.c:1993: error: dereferencing pointer to incomplete type if_iwn.c:1995: error: invalid use of undefined type 'struct iwn_rx_desc' if_iwn.c:1997: error: dereferencing pointer to incomplete type if_iwn.c:1997: error: dereferencing pointer to incomplete type if_iwn.c:1997: error: dereferencing pointer to incomplete type if_iwn.c:1999: error: dereferencing pointer to incomplete type if_iwn.c:1999: error: 'IWN_STAT_MAXLEN' undeclared (first use in this function) if_iwn.c:2000: error: dereferencing pointer to incomplete type if_iwn.c:2002: error: dereferencing pointer to incomplete type if_iwn.c:2006: error: dereferencing pointer to incomplete type if_iwn.c:2007: error: invalid use of undefined type 'struct iwn_rx_desc' if_iwn.c:2008: error: invalid use of undefined type 'struct iwn_rx_mpdu' if_iwn.c:2009: error: dereferencing pointer to incomplete type if_iwn.c:2011: error: invalid use of undefined type 'struct iwn_rx_stat' if_iwn.c:2011: error: dereferencing pointer to incomplete type if_iwn.c:2012: error: dereferencing pointer to incomplete type if_iwn.c:2018: error: 'IWN_RX_NOERROR' undeclared (first use in this function) if_iwn.c:2019: error: dereferencing pointer to incomplete type if_iwn.c:2025: error: dereferencing pointer to incomplete type if_iwn.c:2026: error: dereferencing pointer to incomplete type if_iwn.c:2033: error: 'M_DONTWAIT' undeclared (first use in this function) if_iwn.c:2033: warning: assignment makes pointer from integer without a cast if_iwn.c:2035: error: dereferencing pointer to incomplete type if_iwn.c:2040: error: dereferencing pointer to incomplete type if_iwn.c:2040: error: dereferencing pointer to incomplete type if_iwn.c:2040: error: dereferencing pointer to incomplete type if_iwn.c:2042: error: dereferencing pointer to incomplete type if_iwn.c:2042: error: dereferencing pointer to incomplete type if_iwn.c:2046: error: dereferencing pointer to incomplete type if_iwn.c:2053: error: dereferencing pointer to incomplete type if_iwn.c:2054: error: dereferencing pointer to incomplete type if_iwn.c:2056: error: dereferencing pointer to incomplete type if_iwn.c:2056: error: dereferencing pointer to incomplete type if_iwn.c:2057: error: dereferencing pointer to incomplete type if_iwn.c:2057: error: dereferencing pointer to incomplete type if_iwn.c:2057: error: dereferencing pointer to incomplete type if_iwn.c:2065: error: dereferencing pointer to incomplete type if_iwn.c:2069: warning: implicit declaration of function 'ieee80211_find_rxnode' if_iwn.c:2069: warning: nested extern declaration of 'ieee80211_find_rxnode' if_iwn.c:2069: warning: assignment makes pointer from integer without a cast if_iwn.c:2070: error: dereferencing pointer to incomplete type if_iwn.c:2070: error: 'IEEE80211_S_RUN' undeclared (first use in this function) if_iwn.c:2071: error: dereferencing pointer to incomplete type if_iwn.c:2071: error: 'IEEE80211_F_SCAN' undeclared (first use in this function) if_iwn.c:2071: error: dereferencing pointer to incomplete type if_iwn.c:2073: warning: implicit declaration of function 'ieee80211_radiotap_active' if_iwn.c:2073: warning: nested extern declaration of 'ieee80211_radiotap_active' if_iwn.c:2074: error: dereferencing pointer to incomplete type if_iwn.c:2076: error: dereferencing pointer to incomplete type if_iwn.c:2076: error: dereferencing pointer to incomplete type if_iwn.c:2077: error: dereferencing pointer to incomplete type if_iwn.c:2078: error: dereferencing pointer to incomplete type if_iwn.c:2078: error: 'IWN_STAT_FLAG_SHPREAMBLE' undeclared (first use in this function) if_iwn.c:2079: error: dereferencing pointer to incomplete type if_iwn.c:2079: error: 'IEEE80211_RADIOTAP_F_SHORTPRE' undeclared (first use in this function) if_iwn.c:2080: error: dereferencing pointer to incomplete type if_iwn.c:2082: error: dereferencing pointer to incomplete type if_iwn.c:2083: error: dereferencing pointer to incomplete type if_iwn.c:2084: error: dereferencing pointer to incomplete type if_iwn.c:2085: error: dereferencing pointer to incomplete type if_iwn.c:2087: error: dereferencing pointer to incomplete type if_iwn.c:2088: error: dereferencing pointer to incomplete type if_iwn.c:2089: error: dereferencing pointer to incomplete type if_iwn.c:2090: error: dereferencing pointer to incomplete type if_iwn.c:2091: error: dereferencing pointer to incomplete type if_iwn.c:2092: error: dereferencing pointer to incomplete type if_iwn.c:2093: error: dereferencing pointer to incomplete type if_iwn.c:2094: error: dereferencing pointer to incomplete type if_iwn.c:2096: error: dereferencing pointer to incomplete type if_iwn.c:2098: error: dereferencing pointer to incomplete type if_iwn.c:2099: error: dereferencing pointer to incomplete type if_iwn.c:2106: warning: implicit declaration of function 'ieee80211_input' if_iwn.c:2106: warning: nested extern declaration of 'ieee80211_input' if_iwn.c:2108: warning: implicit declaration of function 'ieee80211_free_node' if_iwn.c:2108: warning: nested extern declaration of 'ieee80211_free_node' if_iwn.c:2110: warning: implicit declaration of function 'ieee80211_input_all' if_iwn.c:2110: warning: nested extern declaration of 'ieee80211_input_all' if_iwn.c: At top level: if_iwn.c:2135: warning: 'struct iwn_rx_data' declared inside parameter list if_iwn.c:2135: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:2135: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2136: error: conflicting types for 'iwn5000_rx_calib_results' if_iwn.c:133: error: previous declaration of 'iwn5000_rx_calib_results' was here if_iwn.c: In function 'iwn5000_rx_calib_results': if_iwn.c:2137: error: invalid use of undefined type 'struct iwn_rx_desc' if_iwn.c:2141: error: dereferencing pointer to incomplete type if_iwn.c:2141: error: 'IWN_FLAG_CALIB_DONE' undeclared (first use in this function) if_iwn.c:2144: error: dereferencing pointer to incomplete type if_iwn.c:2144: error: dereferencing pointer to incomplete type if_iwn.c:2144: error: dereferencing pointer to incomplete type if_iwn.c:2145: error: dereferencing pointer to incomplete type if_iwn.c:2147: error: dereferencing pointer to incomplete type if_iwn.c:2148: error: 'IWN5000_PHY_CALIB_DC' undeclared (first use in this function) if_iwn.c:2149: error: dereferencing pointer to incomplete type if_iwn.c:2149: error: 'IWN_HW_REV_TYPE_5150' undeclared (first use in this function) if_iwn.c:2152: error: 'IWN5000_PHY_CALIB_LO' undeclared (first use in this function) if_iwn.c:2155: error: 'IWN5000_PHY_CALIB_TX_IQ' undeclared (first use in this function) if_iwn.c:2158: error: 'IWN5000_PHY_CALIB_TX_IQ_PERIODIC' undeclared (first use in this function) if_iwn.c:2159: error: dereferencing pointer to incomplete type if_iwn.c:2159: error: 'IWN_HW_REV_TYPE_6000' undeclared (first use in this function) if_iwn.c:2160: error: dereferencing pointer to incomplete type if_iwn.c:2163: error: 'IWN5000_PHY_CALIB_BASE_BAND' undeclared (first use in this function) if_iwn.c:2171: error: dereferencing pointer to incomplete type if_iwn.c:2172: error: dereferencing pointer to incomplete type if_iwn.c:2173: error: dereferencing pointer to incomplete type if_iwn.c:2174: error: dereferencing pointer to incomplete type if_iwn.c:2175: error: dereferencing pointer to incomplete type if_iwn.c:2175: error: dereferencing pointer to incomplete type if_iwn.c:2180: error: dereferencing pointer to incomplete type if_iwn.c:2180: error: dereferencing pointer to incomplete type if_iwn.c:2182: error: dereferencing pointer to incomplete type if_iwn.c:2183: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:2192: warning: 'struct iwn_rx_data' declared inside parameter list if_iwn.c:2192: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:2192: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2193: error: conflicting types for 'iwn_rx_statistics' if_iwn.c:135: error: previous declaration of 'iwn_rx_statistics' was here if_iwn.c: In function 'iwn_rx_statistics': if_iwn.c:2194: error: dereferencing pointer to incomplete type if_iwn.c:2195: error: dereferencing pointer to incomplete type if_iwn.c:2196: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:2197: error: dereferencing pointer to incomplete type if_iwn.c:2198: error: dereferencing pointer to incomplete type if_iwn.c:2199: error: invalid use of undefined type 'struct iwn_rx_desc' if_iwn.c:2203: error: dereferencing pointer to incomplete type if_iwn.c:2203: error: 'IEEE80211_S_RUN' undeclared (first use in this function) if_iwn.c:2204: error: dereferencing pointer to incomplete type if_iwn.c:2204: error: 'IEEE80211_F_SCAN' undeclared (first use in this function) if_iwn.c:2207: error: dereferencing pointer to incomplete type if_iwn.c:2207: error: dereferencing pointer to incomplete type if_iwn.c:2207: error: dereferencing pointer to incomplete type if_iwn.c:2208: error: dereferencing pointer to incomplete type if_iwn.c:2208: error: dereferencing pointer to incomplete type if_iwn.c:2209: warning: passing argument 1 of 'iwn_calib_reset' from incompatible pointer type if_iwn.c:2212: error: dereferencing pointer to incomplete type if_iwn.c:2212: error: dereferencing pointer to incomplete type if_iwn.c:2214: error: dereferencing pointer to incomplete type if_iwn.c:2214: error: dereferencing pointer to incomplete type if_iwn.c:2215: error: dereferencing pointer to incomplete type if_iwn.c:2216: error: dereferencing pointer to incomplete type if_iwn.c:2220: error: dereferencing pointer to incomplete type if_iwn.c:2220: error: 'IWN_HW_REV_TYPE_4965' undeclared (first use in this function) if_iwn.c:2221: warning: passing argument 1 of 'iwn4965_power_calibration' from incompatible pointer type if_iwn.c:2224: error: dereferencing pointer to incomplete type if_iwn.c:2224: error: 'IWN_BEACON_STATISTICS' undeclared (first use in this function) if_iwn.c:2227: error: dereferencing pointer to incomplete type if_iwn.c:2227: error: dereferencing pointer to incomplete type if_iwn.c:2228: error: dereferencing pointer to incomplete type if_iwn.c:2228: error: dereferencing pointer to incomplete type if_iwn.c:2231: error: dereferencing pointer to incomplete type if_iwn.c:2232: error: dereferencing pointer to incomplete type if_iwn.c:2237: error: dereferencing pointer to incomplete type if_iwn.c:2237: error: 'IWN_CALIB_STATE_ASSOC' undeclared (first use in this function) if_iwn.c:2238: error: dereferencing pointer to incomplete type if_iwn.c:2238: warning: passing argument 1 of 'iwn_collect_noise' from incompatible pointer type if_iwn.c:2239: error: dereferencing pointer to incomplete type if_iwn.c:2239: error: 'IWN_CALIB_STATE_RUN' undeclared (first use in this function) if_iwn.c:2240: error: dereferencing pointer to incomplete type if_iwn.c:2240: warning: passing argument 1 of 'iwn_tune_sensitivity' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:2249: warning: 'struct iwn_rx_data' declared inside parameter list if_iwn.c:2249: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:2249: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2250: error: conflicting types for 'iwn4965_tx_done' if_iwn.c:137: error: previous declaration of 'iwn4965_tx_done' was here if_iwn.c: In function 'iwn4965_tx_done': if_iwn.c:2251: error: invalid use of undefined type 'struct iwn_rx_desc' if_iwn.c:2253: error: dereferencing pointer to incomplete type if_iwn.c:2253: error: dereferencing pointer to incomplete type if_iwn.c:2253: error: dereferencing pointer to incomplete type if_iwn.c:2253: error: dereferencing pointer to incomplete type if_iwn.c:2253: error: dereferencing pointer to incomplete type if_iwn.c:2253: error: dereferencing pointer to incomplete type if_iwn.c:2253: error: dereferencing pointer to incomplete type if_iwn.c:2253: error: dereferencing pointer to incomplete type if_iwn.c:2259: error: dereferencing pointer to incomplete type if_iwn.c:2259: error: dereferencing pointer to incomplete type if_iwn.c:2259: error: dereferencing pointer to incomplete type if_iwn.c:2260: error: dereferencing pointer to incomplete type if_iwn.c:2260: error: dereferencing pointer to incomplete type if_iwn.c:2260: warning: passing argument 1 of 'iwn_tx_done' from incompatible pointer type if_iwn.c:2260: warning: passing argument 2 of 'iwn_tx_done' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:2265: warning: 'struct iwn_rx_data' declared inside parameter list if_iwn.c:2265: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:2265: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2266: error: conflicting types for 'iwn5000_tx_done' if_iwn.c:139: error: previous declaration of 'iwn5000_tx_done' was here if_iwn.c: In function 'iwn5000_tx_done': if_iwn.c:2267: error: invalid use of undefined type 'struct iwn_rx_desc' if_iwn.c:2269: error: dereferencing pointer to incomplete type if_iwn.c:2269: error: dereferencing pointer to incomplete type if_iwn.c:2269: error: dereferencing pointer to incomplete type if_iwn.c:2269: error: dereferencing pointer to incomplete type if_iwn.c:2269: error: dereferencing pointer to incomplete type if_iwn.c:2269: error: dereferencing pointer to incomplete type if_iwn.c:2269: error: dereferencing pointer to incomplete type if_iwn.c:2269: error: dereferencing pointer to incomplete type if_iwn.c:2280: error: dereferencing pointer to incomplete type if_iwn.c:2280: error: dereferencing pointer to incomplete type if_iwn.c:2280: error: dereferencing pointer to incomplete type if_iwn.c:2281: error: dereferencing pointer to incomplete type if_iwn.c:2281: error: dereferencing pointer to incomplete type if_iwn.c:2281: warning: passing argument 1 of 'iwn_tx_done' from incompatible pointer type if_iwn.c:2281: warning: passing argument 2 of 'iwn_tx_done' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:2289: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:2289: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2290: error: conflicting types for 'iwn_tx_done' if_iwn.c:141: error: previous declaration of 'iwn_tx_done' was here if_iwn.c: In function 'iwn_tx_done': if_iwn.c:2291: error: dereferencing pointer to incomplete type if_iwn.c:2292: error: dereferencing pointer to incomplete type if_iwn.c:2292: error: dereferencing pointer to incomplete type if_iwn.c:2293: error: dereferencing pointer to incomplete type if_iwn.c:2293: error: dereferencing pointer to incomplete type if_iwn.c:2294: error: dereferencing pointer to incomplete type if_iwn.c:2301: error: dereferencing pointer to incomplete type if_iwn.c:2301: error: dereferencing pointer to incomplete type if_iwn.c:2301: error: dereferencing pointer to incomplete type if_iwn.c:2302: error: dereferencing pointer to incomplete type if_iwn.c:2302: error: dereferencing pointer to incomplete type if_iwn.c:2302: error: dereferencing pointer to incomplete type if_iwn.c:2303: error: dereferencing pointer to incomplete type if_iwn.c:2303: error: dereferencing pointer to incomplete type if_iwn.c:2303: warning: left-hand operand of comma expression has no effect if_iwn.c:2304: error: dereferencing pointer to incomplete type if_iwn.c:2304: error: dereferencing pointer to incomplete type if_iwn.c:2304: warning: left-hand operand of comma expression has no effect if_iwn.c:2306: error: 'M_TXCB' undeclared (first use in this function) if_iwn.c:2321: error: 'IWN_TX_FAIL_TX_LOCKED' undeclared (first use in this function) if_iwn.c:2322: error: dereferencing pointer to incomplete type if_iwn.c:2322: error: 'IEEE80211_S_AUTH' undeclared (first use in this function) if_iwn.c:2323: warning: implicit declaration of function 'ieee80211_process_callback' if_iwn.c:2323: warning: nested extern declaration of 'ieee80211_process_callback' if_iwn.c:2326: error: 'IWN_TX_FAIL' undeclared (first use in this function) if_iwn.c:2334: warning: implicit declaration of function 'ieee80211_amrr_tx_complete' if_iwn.c:2334: warning: nested extern declaration of 'ieee80211_amrr_tx_complete' if_iwn.c:2334: error: dereferencing pointer to incomplete type if_iwn.c:2335: error: 'IEEE80211_AMRR_FAILURE' undeclared (first use in this function) if_iwn.c:2337: error: dereferencing pointer to incomplete type if_iwn.c:2338: error: 'IEEE80211_AMRR_SUCCESS' undeclared (first use in this function) if_iwn.c:2343: error: dereferencing pointer to incomplete type if_iwn.c:2344: error: dereferencing pointer to incomplete type if_iwn.c:2344: error: 'IWN_TX_RING_LOMARK' undeclared (first use in this function) if_iwn.c:2345: error: dereferencing pointer to incomplete type if_iwn.c:2345: error: dereferencing pointer to incomplete type if_iwn.c:2346: error: dereferencing pointer to incomplete type if_iwn.c:2347: error: 'struct ifnet' has no member named 'if_drv_flags' if_iwn.c:2347: error: 'IFF_DRV_OACTIVE' undeclared (first use in this function) if_iwn.c:2348: error: 'struct ifnet' has no member named 'if_drv_flags' if_iwn.c: At top level: if_iwn.c:2359: warning: 'struct iwn_rx_desc' declared inside parameter list if_iwn.c:2359: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2360: error: conflicting types for 'iwn_cmd_done' if_iwn.c:142: error: previous declaration of 'iwn_cmd_done' was here if_iwn.c: In function 'iwn_cmd_done': if_iwn.c:2361: error: dereferencing pointer to incomplete type if_iwn.c:2364: error: dereferencing pointer to incomplete type if_iwn.c:2367: error: dereferencing pointer to incomplete type if_iwn.c:2367: error: dereferencing pointer to incomplete type if_iwn.c:2370: error: dereferencing pointer to incomplete type if_iwn.c:2371: error: dereferencing pointer to incomplete type if_iwn.c:2371: error: dereferencing pointer to incomplete type if_iwn.c:2371: error: dereferencing pointer to incomplete type if_iwn.c:2372: error: dereferencing pointer to incomplete type if_iwn.c:2373: error: dereferencing pointer to incomplete type if_iwn.c:2375: error: dereferencing pointer to incomplete type if_iwn.c:2375: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:2382: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2383: error: conflicting types for 'iwn_notif_intr' if_iwn.c:143: error: previous declaration of 'iwn_notif_intr' was here if_iwn.c: In function 'iwn_notif_intr': if_iwn.c:2384: error: dereferencing pointer to incomplete type if_iwn.c:2385: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:2386: error: dereferencing pointer to incomplete type if_iwn.c:2389: error: dereferencing pointer to incomplete type if_iwn.c:2389: error: dereferencing pointer to incomplete type if_iwn.c:2389: error: dereferencing pointer to incomplete type if_iwn.c:2392: error: dereferencing pointer to incomplete type if_iwn.c:2393: error: dereferencing pointer to incomplete type if_iwn.c:2394: error: dereferencing pointer to incomplete type if_iwn.c:2394: error: dereferencing pointer to incomplete type if_iwn.c:2397: error: dereferencing pointer to incomplete type if_iwn.c:2397: error: dereferencing pointer to incomplete type if_iwn.c:2397: error: dereferencing pointer to incomplete type if_iwn.c:2399: error: dereferencing pointer to incomplete type if_iwn.c:2401: error: dereferencing pointer to incomplete type if_iwn.c:2401: error: dereferencing pointer to incomplete type if_iwn.c:2401: error: dereferencing pointer to incomplete type if_iwn.c:2401: error: dereferencing pointer to incomplete type if_iwn.c:2401: error: dereferencing pointer to incomplete type if_iwn.c:2401: error: dereferencing pointer to incomplete type if_iwn.c:2401: error: dereferencing pointer to incomplete type if_iwn.c:2407: error: dereferencing pointer to incomplete type if_iwn.c:2408: warning: passing argument 1 of 'iwn_cmd_done' from incompatible pointer type if_iwn.c:2408: warning: passing argument 2 of 'iwn_cmd_done' from incompatible pointer type if_iwn.c:2410: error: dereferencing pointer to incomplete type if_iwn.c:2411: error: 'IWN_RX_PHY' undeclared (first use in this function) if_iwn.c:2412: warning: passing argument 1 of 'iwn_rx_phy' from incompatible pointer type if_iwn.c:2412: warning: passing argument 2 of 'iwn_rx_phy' from incompatible pointer type if_iwn.c:2412: warning: passing argument 3 of 'iwn_rx_phy' from incompatible pointer type if_iwn.c:2415: error: 'IWN_RX_DONE' undeclared (first use in this function) if_iwn.c:2416: error: 'IWN_MPDU_RX_DONE' undeclared (first use in this function) if_iwn.c:2418: warning: passing argument 1 of 'iwn_rx_done' from incompatible pointer type if_iwn.c:2418: warning: passing argument 2 of 'iwn_rx_done' from incompatible pointer type if_iwn.c:2418: warning: passing argument 3 of 'iwn_rx_done' from incompatible pointer type if_iwn.c:2428: error: 'IWN_TX_DONE' undeclared (first use in this function) if_iwn.c:2430: error: dereferencing pointer to incomplete type if_iwn.c:2433: error: 'IWN_RX_STATISTICS' undeclared (first use in this function) if_iwn.c:2434: error: 'IWN_BEACON_STATISTICS' undeclared (first use in this function) if_iwn.c:2435: warning: passing argument 1 of 'iwn_rx_statistics' from incompatible pointer type if_iwn.c:2435: warning: passing argument 2 of 'iwn_rx_statistics' from incompatible pointer type if_iwn.c:2435: warning: passing argument 3 of 'iwn_rx_statistics' from incompatible pointer type if_iwn.c:2438: error: 'IWN_BEACON_MISSED' undeclared (first use in this function) if_iwn.c:2441: error: invalid use of undefined type 'struct iwn_rx_desc' if_iwn.c:2444: error: dereferencing pointer to incomplete type if_iwn.c:2444: error: dereferencing pointer to incomplete type if_iwn.c:2444: error: dereferencing pointer to incomplete type if_iwn.c:2446: error: dereferencing pointer to incomplete type if_iwn.c:2451: error: dereferencing pointer to incomplete type if_iwn.c:2451: error: dereferencing pointer to incomplete type if_iwn.c:2459: error: dereferencing pointer to incomplete type if_iwn.c:2459: error: 'IEEE80211_S_RUN' undeclared (first use in this function) if_iwn.c:2460: warning: passing argument 1 of 'iwn_init_sensitivity' from incompatible pointer type if_iwn.c:2461: error: dereferencing pointer to incomplete type if_iwn.c:2463: warning: implicit declaration of function 'ieee80211_beacon_miss' if_iwn.c:2463: warning: nested extern declaration of 'ieee80211_beacon_miss' if_iwn.c:2468: error: 'IWN_UC_READY' undeclared (first use in this function) if_iwn.c:2471: error: invalid use of undefined type 'struct iwn_rx_desc' if_iwn.c:2474: error: dereferencing pointer to incomplete type if_iwn.c:2474: error: dereferencing pointer to incomplete type if_iwn.c:2474: error: dereferencing pointer to incomplete type if_iwn.c:2476: error: dereferencing pointer to incomplete type if_iwn.c:2476: error: dereferencing pointer to incomplete type if_iwn.c:2476: error: dereferencing pointer to incomplete type if_iwn.c:2476: error: dereferencing pointer to incomplete type if_iwn.c:2476: error: dereferencing pointer to incomplete type if_iwn.c:2481: error: dereferencing pointer to incomplete type if_iwn.c:2482: error: dereferencing pointer to incomplete type if_iwn.c:2486: error: dereferencing pointer to incomplete type if_iwn.c:2486: error: 'IWN_UCODE_INIT' undeclared (first use in this function) if_iwn.c:2488: error: dereferencing pointer to incomplete type if_iwn.c:2488: error: dereferencing pointer to incomplete type if_iwn.c:2491: error: dereferencing pointer to incomplete type if_iwn.c:2491: error: dereferencing pointer to incomplete type if_iwn.c:2494: error: 'IWN_STATE_CHANGED' undeclared (first use in this function) if_iwn.c:2496: error: invalid use of undefined type 'struct iwn_rx_desc' if_iwn.c:2503: error: dereferencing pointer to incomplete type if_iwn.c:2503: error: dereferencing pointer to incomplete type if_iwn.c:2503: error: dereferencing pointer to incomplete type if_iwn.c:2505: error: dereferencing pointer to incomplete type if_iwn.c:2509: error: 'IWN_START_SCAN' undeclared (first use in this function) if_iwn.c:2512: error: invalid use of undefined type 'struct iwn_rx_desc' if_iwn.c:2514: error: dereferencing pointer to incomplete type if_iwn.c:2514: error: dereferencing pointer to incomplete type if_iwn.c:2514: error: dereferencing pointer to incomplete type if_iwn.c:2516: error: dereferencing pointer to incomplete type if_iwn.c:2516: error: dereferencing pointer to incomplete type if_iwn.c:2516: error: dereferencing pointer to incomplete type if_iwn.c:2521: error: 'IWN_STOP_SCAN' undeclared (first use in this function) if_iwn.c:2524: error: invalid use of undefined type 'struct iwn_rx_desc' if_iwn.c:2526: error: dereferencing pointer to incomplete type if_iwn.c:2526: error: dereferencing pointer to incomplete type if_iwn.c:2526: error: dereferencing pointer to incomplete type if_iwn.c:2528: error: dereferencing pointer to incomplete type if_iwn.c:2528: error: dereferencing pointer to incomplete type if_iwn.c:2528: error: dereferencing pointer to incomplete type if_iwn.c:2528: error: dereferencing pointer to incomplete type if_iwn.c:2533: warning: implicit declaration of function 'ieee80211_scan_next' if_iwn.c:2533: warning: nested extern declaration of 'ieee80211_scan_next' if_iwn.c:2537: error: 'IWN5000_CALIBRATION_RESULT' undeclared (first use in this function) if_iwn.c:2538: warning: passing argument 1 of 'iwn5000_rx_calib_results' from incompatible pointer type if_iwn.c:2538: warning: passing argument 2 of 'iwn5000_rx_calib_results' from incompatible pointer type if_iwn.c:2538: warning: passing argument 3 of 'iwn5000_rx_calib_results' from incompatible pointer type if_iwn.c:2541: error: 'IWN5000_CALIBRATION_DONE' undeclared (first use in this function) if_iwn.c:2542: error: dereferencing pointer to incomplete type if_iwn.c:2542: error: 'IWN_FLAG_CALIB_DONE' undeclared (first use in this function) if_iwn.c:2547: error: dereferencing pointer to incomplete type if_iwn.c:2547: error: dereferencing pointer to incomplete type if_iwn.c:2547: error: 'IWN_RX_RING_COUNT' undeclared (first use in this function) if_iwn.c:2552: error: 'IWN_FH_RX_WPTR' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:2560: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2561: error: conflicting types for 'iwn_wakeup_intr' if_iwn.c:144: error: previous declaration of 'iwn_wakeup_intr' was here if_iwn.c: In function 'iwn_wakeup_intr': if_iwn.c:2564: error: dereferencing pointer to incomplete type if_iwn.c:2568: error: 'IWN_FH_RX_WPTR' undeclared (first use in this function) if_iwn.c:2568: error: dereferencing pointer to incomplete type if_iwn.c:2569: error: dereferencing pointer to incomplete type if_iwn.c:2570: error: dereferencing pointer to incomplete type if_iwn.c:2571: error: 'IWN_HBUS_TARG_WRPTR' undeclared (first use in this function) if_iwn.c:2571: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:2576: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2577: error: conflicting types for 'iwn_rftoggle_intr' if_iwn.c:145: error: previous declaration of 'iwn_rftoggle_intr' was here if_iwn.c: In function 'iwn_rftoggle_intr': if_iwn.c:2578: error: dereferencing pointer to incomplete type if_iwn.c:2579: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:2580: error: 'IWN_GP_CNTRL' undeclared (first use in this function) if_iwn.c:2584: error: dereferencing pointer to incomplete type if_iwn.c:2585: error: 'IWN_GP_CNTRL_RFKILL' undeclared (first use in this function) if_iwn.c:2587: warning: implicit declaration of function 'ieee80211_runtask' if_iwn.c:2587: warning: nested extern declaration of 'ieee80211_runtask' if_iwn.c:2587: error: dereferencing pointer to incomplete type if_iwn.c:2589: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:2598: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2599: error: conflicting types for 'iwn_fatal_intr' if_iwn.c:146: error: previous declaration of 'iwn_fatal_intr' was here if_iwn.c: In function 'iwn_fatal_intr': if_iwn.c:2600: error: dereferencing pointer to incomplete type if_iwn.c:2601: error: storage size of 'dump' isn't known if_iwn.c:2607: error: dereferencing pointer to incomplete type if_iwn.c:2607: error: 'IWN_FLAG_CALIB_DONE' undeclared (first use in this function) if_iwn.c:2610: error: dereferencing pointer to incomplete type if_iwn.c:2610: error: 'IWN_FW_DATA_BASE' undeclared (first use in this function) if_iwn.c:2611: error: dereferencing pointer to incomplete type if_iwn.c:2612: error: dereferencing pointer to incomplete type if_iwn.c:2614: error: dereferencing pointer to incomplete type if_iwn.c:2617: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:2623: error: dereferencing pointer to incomplete type if_iwn.c:2624: warning: passing argument 1 of 'iwn_mem_read_region_4' from incompatible pointer type if_iwn.c:2625: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:2634: error: 'iwn_fw_errmsg' undeclared (first use in this function) if_iwn.c:2649: error: dereferencing pointer to incomplete type if_iwn.c:2650: error: dereferencing pointer to incomplete type if_iwn.c:2652: error: dereferencing pointer to incomplete type if_iwn.c:2652: error: dereferencing pointer to incomplete type if_iwn.c:2652: error: dereferencing pointer to incomplete type if_iwn.c:2654: error: dereferencing pointer to incomplete type if_iwn.c:2601: warning: unused variable 'dump' if_iwn.c: In function 'iwn_intr': if_iwn.c:2661: error: dereferencing pointer to incomplete type if_iwn.c:2667: error: 'IWN_INT_MASK' undeclared (first use in this function) if_iwn.c:2670: error: dereferencing pointer to incomplete type if_iwn.c:2670: error: 'IWN_FLAG_USE_ICT' undeclared (first use in this function) if_iwn.c:2672: error: dereferencing pointer to incomplete type if_iwn.c:2672: error: dereferencing pointer to incomplete type if_iwn.c:2673: error: dereferencing pointer to incomplete type if_iwn.c:2673: error: dereferencing pointer to incomplete type if_iwn.c:2674: error: dereferencing pointer to incomplete type if_iwn.c:2674: error: dereferencing pointer to incomplete type if_iwn.c:2675: error: dereferencing pointer to incomplete type if_iwn.c:2675: error: dereferencing pointer to incomplete type if_iwn.c:2675: error: 'IWN_ICT_COUNT' undeclared (first use in this function) if_iwn.c:2683: error: 'IWN_INT' undeclared (first use in this function) if_iwn.c:2686: error: 'IWN_FH_INT' undeclared (first use in this function) if_iwn.c:2689: error: dereferencing pointer to incomplete type if_iwn.c:2696: error: dereferencing pointer to incomplete type if_iwn.c:2699: error: 'IWN_INT_RF_TOGGLED' undeclared (first use in this function) if_iwn.c:2700: warning: passing argument 1 of 'iwn_rftoggle_intr' from incompatible pointer type if_iwn.c:2703: error: 'IWN_INT_CT_REACHED' undeclared (first use in this function) if_iwn.c:2704: error: dereferencing pointer to incomplete type if_iwn.c:2707: error: 'IWN_INT_SW_ERR' undeclared (first use in this function) if_iwn.c:2707: error: 'IWN_INT_HW_ERR' undeclared (first use in this function) if_iwn.c:2708: warning: passing argument 1 of 'iwn_fatal_intr' from incompatible pointer type if_iwn.c:2710: warning: passing argument 1 of 'iwn_stop_locked' from incompatible pointer type if_iwn.c:2713: error: 'IWN_INT_FH_RX' undeclared (first use in this function) if_iwn.c:2713: error: 'IWN_INT_SW_RX' undeclared (first use in this function) if_iwn.c:2713: error: 'IWN_INT_RX_PERIODIC' undeclared (first use in this function) if_iwn.c:2714: error: 'IWN_FH_INT_RX' undeclared (first use in this function) if_iwn.c:2715: error: dereferencing pointer to incomplete type if_iwn.c:2718: warning: implicit declaration of function 'IWN_WRITE_1' if_iwn.c:2718: warning: nested extern declaration of 'IWN_WRITE_1' if_iwn.c:2718: error: 'IWN_INT_PERIODIC' undeclared (first use in this function) if_iwn.c:2719: error: 'IWN_INT_PERIODIC_DIS' undeclared (first use in this function) if_iwn.c:2720: warning: passing argument 1 of 'iwn_notif_intr' from incompatible pointer type if_iwn.c:2723: error: 'IWN_INT_PERIODIC_ENA' undeclared (first use in this function) if_iwn.c:2726: warning: passing argument 1 of 'iwn_notif_intr' from incompatible pointer type if_iwn.c:2729: error: 'IWN_INT_FH_TX' undeclared (first use in this function) if_iwn.c:2729: error: 'IWN_FH_INT_TX' undeclared (first use in this function) if_iwn.c:2730: error: dereferencing pointer to incomplete type if_iwn.c:2735: error: 'IWN_INT_ALIVE' undeclared (first use in this function) if_iwn.c:2738: error: 'IWN_INT_WAKEUP' undeclared (first use in this function) if_iwn.c:2739: warning: passing argument 1 of 'iwn_wakeup_intr' from incompatible pointer type if_iwn.c:2744: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:2755: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2756: error: conflicting types for 'iwn4965_update_sched' if_iwn.c:149: error: previous declaration of 'iwn4965_update_sched' was here if_iwn.c: In function 'iwn4965_update_sched': if_iwn.c:2757: error: dereferencing pointer to incomplete type if_iwn.c:2757: error: 'IWN4965_SCHED_COUNT' undeclared (first use in this function) if_iwn.c:2760: error: dereferencing pointer to incomplete type if_iwn.c:2760: error: dereferencing pointer to incomplete type if_iwn.c:2760: error: dereferencing pointer to incomplete type if_iwn.c:2762: error: 'IWN_SCHED_WINSZ' undeclared (first use in this function) if_iwn.c:2763: error: 'IWN_TX_RING_COUNT' undeclared (first use in this function) if_iwn.c:2764: error: dereferencing pointer to incomplete type if_iwn.c:2764: error: dereferencing pointer to incomplete type if_iwn.c:2764: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:2771: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2772: error: conflicting types for 'iwn5000_update_sched' if_iwn.c:151: error: previous declaration of 'iwn5000_update_sched' was here if_iwn.c: In function 'iwn5000_update_sched': if_iwn.c:2773: error: dereferencing pointer to incomplete type if_iwn.c:2773: error: 'IWN5000_SCHED_COUNT' undeclared (first use in this function) if_iwn.c:2777: error: dereferencing pointer to incomplete type if_iwn.c:2777: error: dereferencing pointer to incomplete type if_iwn.c:2777: error: dereferencing pointer to incomplete type if_iwn.c:2779: error: 'IWN_SCHED_WINSZ' undeclared (first use in this function) if_iwn.c:2780: error: 'IWN_TX_RING_COUNT' undeclared (first use in this function) if_iwn.c:2781: error: dereferencing pointer to incomplete type if_iwn.c:2781: error: dereferencing pointer to incomplete type if_iwn.c:2781: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:2787: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2788: error: conflicting types for 'iwn5000_reset_sched' if_iwn.c:152: error: previous declaration of 'iwn5000_reset_sched' was here if_iwn.c: In function 'iwn5000_reset_sched': if_iwn.c:2789: error: dereferencing pointer to incomplete type if_iwn.c:2789: error: 'IWN5000_SCHED_COUNT' undeclared (first use in this function) if_iwn.c:2792: error: dereferencing pointer to incomplete type if_iwn.c:2792: error: dereferencing pointer to incomplete type if_iwn.c:2792: error: dereferencing pointer to incomplete type if_iwn.c:2794: error: 'IWN_SCHED_WINSZ' undeclared (first use in this function) if_iwn.c:2795: error: 'IWN_TX_RING_COUNT' undeclared (first use in this function) if_iwn.c:2796: error: dereferencing pointer to incomplete type if_iwn.c:2796: error: dereferencing pointer to incomplete type if_iwn.c:2796: error: dereferencing pointer to incomplete type if_iwn.c: In function 'iwn_plcp_signal': if_iwn.c:2805: error: 'IWN_RIDX_MAX' undeclared (first use in this function) if_iwn.c:2806: error: 'iwn_rates' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:2815: warning: 'struct iwn_tx_ring' declared inside parameter list if_iwn.c:2815: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:2816: error: conflicting types for 'iwn_tx_data' if_iwn.c:154: error: previous declaration of 'iwn_tx_data' was here if_iwn.c: In function 'iwn_tx_data': if_iwn.c:2817: error: dereferencing pointer to incomplete type if_iwn.c:2820: error: dereferencing pointer to incomplete type if_iwn.c:2821: error: dereferencing pointer to incomplete type if_iwn.c:2830: error: 'IWN_MAX_SCATTER' undeclared (first use in this function) if_iwn.c:2839: warning: implicit declaration of function 'ieee80211_anyhdrsize' if_iwn.c:2839: warning: nested extern declaration of 'ieee80211_anyhdrsize' if_iwn.c:2840: error: dereferencing pointer to incomplete type if_iwn.c:2840: error: 'IEEE80211_FC0_TYPE_MASK' undeclared (first use in this function) if_iwn.c:2842: error: dereferencing pointer to incomplete type if_iwn.c:2842: error: dereferencing pointer to incomplete type if_iwn.c:2843: error: dereferencing pointer to incomplete type if_iwn.c:2843: error: dereferencing pointer to incomplete type if_iwn.c:2846: error: dereferencing pointer to incomplete type if_iwn.c:2846: warning: implicit declaration of function 'ieee80211_chan2mode' if_iwn.c:2846: warning: nested extern declaration of 'ieee80211_chan2mode' if_iwn.c:2846: error: dereferencing pointer to incomplete type if_iwn.c:2847: error: 'IEEE80211_FC0_TYPE_MGT' undeclared (first use in this function) if_iwn.c:2848: error: dereferencing pointer to incomplete type if_iwn.c:2849: warning: implicit declaration of function 'IEEE80211_IS_MULTICAST' if_iwn.c:2849: warning: nested extern declaration of 'IEEE80211_IS_MULTICAST' if_iwn.c:2849: error: dereferencing pointer to incomplete type if_iwn.c:2850: error: dereferencing pointer to incomplete type if_iwn.c:2851: error: dereferencing pointer to incomplete type if_iwn.c:2851: error: 'IEEE80211_FIXED_RATE_NONE' undeclared (first use in this function) if_iwn.c:2852: error: dereferencing pointer to incomplete type if_iwn.c:2854: warning: implicit declaration of function 'ieee80211_amrr_choose' if_iwn.c:2854: warning: nested extern declaration of 'ieee80211_amrr_choose' if_iwn.c:2854: error: dereferencing pointer to incomplete type if_iwn.c:2855: error: dereferencing pointer to incomplete type if_iwn.c:2858: error: 'iwn_rates' undeclared (first use in this function) if_iwn.c:2861: error: dereferencing pointer to incomplete type if_iwn.c:2861: error: 'IEEE80211_FC1_WEP' undeclared (first use in this function) if_iwn.c:2862: warning: implicit declaration of function 'ieee80211_crypto_encap' if_iwn.c:2862: warning: nested extern declaration of 'ieee80211_crypto_encap' if_iwn.c:2862: warning: assignment makes pointer from integer without a cast if_iwn.c:2872: warning: implicit declaration of function 'ieee80211_radiotap_active_vap' if_iwn.c:2872: warning: nested extern declaration of 'ieee80211_radiotap_active_vap' if_iwn.c:2873: error: dereferencing pointer to incomplete type if_iwn.c:2875: error: dereferencing pointer to incomplete type if_iwn.c:2876: error: dereferencing pointer to incomplete type if_iwn.c:2876: error: dereferencing pointer to incomplete type if_iwn.c:2878: error: dereferencing pointer to incomplete type if_iwn.c:2878: error: 'IEEE80211_RADIOTAP_F_WEP' undeclared (first use in this function) if_iwn.c:2880: warning: implicit declaration of function 'ieee80211_radiotap_tx' if_iwn.c:2880: warning: nested extern declaration of 'ieee80211_radiotap_tx' if_iwn.c:2884: error: dereferencing pointer to incomplete type if_iwn.c:2884: error: dereferencing pointer to incomplete type if_iwn.c:2885: error: dereferencing pointer to incomplete type if_iwn.c:2885: error: 'IWN_CMD_TX_DATA' undeclared (first use in this function) if_iwn.c:2886: error: dereferencing pointer to incomplete type if_iwn.c:2887: error: dereferencing pointer to incomplete type if_iwn.c:2887: error: dereferencing pointer to incomplete type if_iwn.c:2888: error: dereferencing pointer to incomplete type if_iwn.c:2888: error: dereferencing pointer to incomplete type if_iwn.c:2890: error: dereferencing pointer to incomplete type if_iwn.c:2892: error: dereferencing pointer to incomplete type if_iwn.c:2895: error: dereferencing pointer to incomplete type if_iwn.c:2896: error: 'IWN_TX_NEED_ACK' undeclared (first use in this function) if_iwn.c:2897: error: dereferencing pointer to incomplete type if_iwn.c:2898: error: 'IEEE80211_FC0_SUBTYPE_MASK' undeclared (first use in this function) if_iwn.c:2899: error: 'IEEE80211_FC0_TYPE_CTL' undeclared (first use in this function) if_iwn.c:2899: error: 'IEEE80211_FC0_SUBTYPE_BAR' undeclared (first use in this function) if_iwn.c:2900: error: 'IWN_TX_IMM_BA' undeclared (first use in this function) if_iwn.c:2902: error: dereferencing pointer to incomplete type if_iwn.c:2902: error: 'IEEE80211_FC1_MORE_FRAG' undeclared (first use in this function) if_iwn.c:2903: error: 'IWN_TX_MORE_FRAG' undeclared (first use in this function) if_iwn.c:2906: error: dereferencing pointer to incomplete type if_iwn.c:2908: error: 'IEEE80211_CRC_LEN' undeclared (first use in this function) if_iwn.c:2908: error: dereferencing pointer to incomplete type if_iwn.c:2909: error: 'IWN_TX_NEED_RTS' undeclared (first use in this function) if_iwn.c:2910: error: dereferencing pointer to incomplete type if_iwn.c:2910: error: 'IEEE80211_F_USEPROT' undeclared (first use in this function) if_iwn.c:2911: error: 'IWN_RIDX_OFDM6' undeclared (first use in this function) if_iwn.c:2912: error: dereferencing pointer to incomplete type if_iwn.c:2912: error: 'IEEE80211_PROT_CTSONLY' undeclared (first use in this function) if_iwn.c:2913: error: 'IWN_TX_NEED_CTS' undeclared (first use in this function) if_iwn.c:2914: error: dereferencing pointer to incomplete type if_iwn.c:2914: error: 'IEEE80211_PROT_RTSCTS' undeclared (first use in this function) if_iwn.c:2918: error: dereferencing pointer to incomplete type if_iwn.c:2918: error: 'IWN_HW_REV_TYPE_4965' undeclared (first use in this function) if_iwn.c:2921: error: 'IWN_TX_NEED_PROTECTION' undeclared (first use in this function) if_iwn.c:2923: error: 'IWN_TX_FULL_TXOP' undeclared (first use in this function) if_iwn.c:2927: error: dereferencing pointer to incomplete type if_iwn.c:2928: error: 'IEEE80211_FC0_TYPE_DATA' undeclared (first use in this function) if_iwn.c:2929: error: dereferencing pointer to incomplete type if_iwn.c:2929: error: dereferencing pointer to incomplete type if_iwn.c:2931: error: dereferencing pointer to incomplete type if_iwn.c:2931: error: dereferencing pointer to incomplete type if_iwn.c:2934: error: dereferencing pointer to incomplete type if_iwn.c:2937: error: 'IEEE80211_FC0_SUBTYPE_PROBE_RESP' undeclared (first use in this function) if_iwn.c:2938: error: 'IWN_TX_INSERT_TSTAMP' undeclared (first use in this function) if_iwn.c:2940: error: 'IEEE80211_FC0_SUBTYPE_ASSOC_REQ' undeclared (first use in this function) if_iwn.c:2941: error: 'IEEE80211_FC0_SUBTYPE_REASSOC_REQ' undeclared (first use in this function) if_iwn.c:2942: error: dereferencing pointer to incomplete type if_iwn.c:2944: error: dereferencing pointer to incomplete type if_iwn.c:2946: error: dereferencing pointer to incomplete type if_iwn.c:2950: error: 'IWN_TX_NEED_PADDING' undeclared (first use in this function) if_iwn.c:2955: error: dereferencing pointer to incomplete type if_iwn.c:2956: error: dereferencing pointer to incomplete type if_iwn.c:2957: error: dereferencing pointer to incomplete type if_iwn.c:2958: error: dereferencing pointer to incomplete type if_iwn.c:2959: error: dereferencing pointer to incomplete type if_iwn.c:2959: error: 'IWN_LIFETIME_INFINITE' undeclared (first use in this function) if_iwn.c:2960: error: dereferencing pointer to incomplete type if_iwn.c:2960: error: dereferencing pointer to incomplete type if_iwn.c:2961: error: dereferencing pointer to incomplete type if_iwn.c:2961: error: dereferencing pointer to incomplete type if_iwn.c:2962: error: dereferencing pointer to incomplete type if_iwn.c:2962: error: dereferencing pointer to incomplete type if_iwn.c:2964: error: dereferencing pointer to incomplete type if_iwn.c:2966: warning: implicit declaration of function 'IWN_LSB' if_iwn.c:2966: warning: nested extern declaration of 'IWN_LSB' if_iwn.c:2966: error: dereferencing pointer to incomplete type if_iwn.c:2967: error: dereferencing pointer to incomplete type if_iwn.c:2967: warning: implicit declaration of function 'IWN_RFLAG_ANT' if_iwn.c:2967: warning: nested extern declaration of 'IWN_RFLAG_ANT' if_iwn.c:2969: error: dereferencing pointer to incomplete type if_iwn.c:2970: error: 'IWN_TX_LINKQ' undeclared (first use in this function) if_iwn.c:2974: error: dereferencing pointer to incomplete type if_iwn.c:2974: warning: implicit declaration of function 'IWN_LOADDR' if_iwn.c:2974: warning: nested extern declaration of 'IWN_LOADDR' if_iwn.c:2974: error: dereferencing pointer to incomplete type if_iwn.c:2975: error: dereferencing pointer to incomplete type if_iwn.c:2975: warning: implicit declaration of function 'IWN_HIADDR' if_iwn.c:2975: warning: nested extern declaration of 'IWN_HIADDR' if_iwn.c:2975: error: dereferencing pointer to incomplete type if_iwn.c:2978: error: invalid use of undefined type 'struct iwn_cmd_data' if_iwn.c:2982: error: dereferencing pointer to incomplete type if_iwn.c:2983: error: dereferencing pointer to incomplete type if_iwn.c:2986: warning: implicit declaration of function 'bus_dmamap_load_mbuf_sg' if_iwn.c:2986: warning: nested extern declaration of 'bus_dmamap_load_mbuf_sg' if_iwn.c:2986: error: dereferencing pointer to incomplete type if_iwn.c:2986: error: dereferencing pointer to incomplete type if_iwn.c:2990: warning: implicit declaration of function 'm_collapse' if_iwn.c:2990: warning: nested extern declaration of 'm_collapse' if_iwn.c:2990: error: 'M_DONTWAIT' undeclared (first use in this function) if_iwn.c:2990: warning: assignment makes pointer from integer without a cast if_iwn.c:2992: error: dereferencing pointer to incomplete type if_iwn.c:2998: error: dereferencing pointer to incomplete type if_iwn.c:2999: error: dereferencing pointer to incomplete type if_iwn.c:3002: error: dereferencing pointer to incomplete type if_iwn.c:3010: error: dereferencing pointer to incomplete type if_iwn.c:3011: error: dereferencing pointer to incomplete type if_iwn.c:3013: error: dereferencing pointer to incomplete type if_iwn.c:3013: error: dereferencing pointer to incomplete type if_iwn.c:3013: error: dereferencing pointer to incomplete type if_iwn.c:3017: error: dereferencing pointer to incomplete type if_iwn.c:3019: error: dereferencing pointer to incomplete type if_iwn.c:3019: error: dereferencing pointer to incomplete type if_iwn.c:3020: error: dereferencing pointer to incomplete type if_iwn.c:3020: error: dereferencing pointer to incomplete type if_iwn.c:3020: error: dereferencing pointer to incomplete type if_iwn.c:3024: error: dereferencing pointer to incomplete type if_iwn.c:3025: error: dereferencing pointer to incomplete type if_iwn.c:3029: error: dereferencing pointer to incomplete type if_iwn.c:3029: error: dereferencing pointer to incomplete type if_iwn.c:3029: error: dereferencing pointer to incomplete type if_iwn.c:3030: error: dereferencing pointer to incomplete type if_iwn.c:3030: error: dereferencing pointer to incomplete type if_iwn.c:3030: error: dereferencing pointer to incomplete type if_iwn.c:3032: error: dereferencing pointer to incomplete type if_iwn.c:3032: error: dereferencing pointer to incomplete type if_iwn.c:3032: error: dereferencing pointer to incomplete type if_iwn.c:3041: error: dereferencing pointer to incomplete type if_iwn.c:3041: error: dereferencing pointer to incomplete type if_iwn.c:3041: error: 'IWN_TX_RING_COUNT' undeclared (first use in this function) if_iwn.c:3042: error: 'IWN_HBUS_TARG_WRPTR' undeclared (first use in this function) if_iwn.c:3042: error: dereferencing pointer to incomplete type if_iwn.c:3042: error: dereferencing pointer to incomplete type if_iwn.c:3045: error: dereferencing pointer to incomplete type if_iwn.c:3045: error: 'IWN_TX_RING_HIMARK' undeclared (first use in this function) if_iwn.c:3046: error: dereferencing pointer to incomplete type if_iwn.c:3046: error: dereferencing pointer to incomplete type if_iwn.c:2830: warning: unused variable 'segs' if_iwn.c: At top level: if_iwn.c:3054: warning: 'struct ieee80211_bpf_params' declared inside parameter list if_iwn.c:3054: warning: 'struct iwn_tx_ring' declared inside parameter list if_iwn.c:3054: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_tx_data_raw': if_iwn.c:3056: error: dereferencing pointer to incomplete type if_iwn.c:3058: error: dereferencing pointer to incomplete type if_iwn.c:3059: error: dereferencing pointer to incomplete type if_iwn.c:3060: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:3068: error: 'IWN_MAX_SCATTER' undeclared (first use in this function) if_iwn.c:3078: error: dereferencing pointer to incomplete type if_iwn.c:3078: error: 'IEEE80211_FC0_TYPE_MASK' undeclared (first use in this function) if_iwn.c:3080: error: dereferencing pointer to incomplete type if_iwn.c:3080: error: dereferencing pointer to incomplete type if_iwn.c:3081: error: dereferencing pointer to incomplete type if_iwn.c:3081: error: dereferencing pointer to incomplete type if_iwn.c:3084: error: dereferencing pointer to incomplete type if_iwn.c:3085: warning: implicit declaration of function 'ieee80211_isratevalid' if_iwn.c:3085: warning: nested extern declaration of 'ieee80211_isratevalid' if_iwn.c:3085: error: dereferencing pointer to incomplete type if_iwn.c:3091: error: 'iwn_rates' undeclared (first use in this function) if_iwn.c:3096: error: dereferencing pointer to incomplete type if_iwn.c:3096: error: dereferencing pointer to incomplete type if_iwn.c:3097: error: dereferencing pointer to incomplete type if_iwn.c:3097: error: 'IWN_CMD_TX_DATA' undeclared (first use in this function) if_iwn.c:3098: error: dereferencing pointer to incomplete type if_iwn.c:3099: error: dereferencing pointer to incomplete type if_iwn.c:3099: error: dereferencing pointer to incomplete type if_iwn.c:3100: error: dereferencing pointer to incomplete type if_iwn.c:3100: error: dereferencing pointer to incomplete type if_iwn.c:3102: error: dereferencing pointer to incomplete type if_iwn.c:3104: error: dereferencing pointer to incomplete type if_iwn.c:3107: error: dereferencing pointer to incomplete type if_iwn.c:3107: error: 'IEEE80211_BPF_NOACK' undeclared (first use in this function) if_iwn.c:3108: error: 'IWN_TX_NEED_ACK' undeclared (first use in this function) if_iwn.c:3109: error: dereferencing pointer to incomplete type if_iwn.c:3109: error: 'IEEE80211_BPF_RTS' undeclared (first use in this function) if_iwn.c:3110: error: dereferencing pointer to incomplete type if_iwn.c:3110: error: 'IWN_HW_REV_TYPE_4965' undeclared (first use in this function) if_iwn.c:3112: error: 'IWN_TX_NEED_RTS' undeclared (first use in this function) if_iwn.c:3113: error: 'IWN_TX_NEED_PROTECTION' undeclared (first use in this function) if_iwn.c:3115: error: 'IWN_TX_FULL_TXOP' undeclared (first use in this function) if_iwn.c:3117: error: dereferencing pointer to incomplete type if_iwn.c:3117: error: 'IEEE80211_BPF_CTS' undeclared (first use in this function) if_iwn.c:3118: error: dereferencing pointer to incomplete type if_iwn.c:3120: error: 'IWN_TX_NEED_CTS' undeclared (first use in this function) if_iwn.c:3125: error: 'IEEE80211_FC0_TYPE_MGT' undeclared (first use in this function) if_iwn.c:3126: error: dereferencing pointer to incomplete type if_iwn.c:3126: error: 'IEEE80211_FC0_SUBTYPE_MASK' undeclared (first use in this function) if_iwn.c:3128: error: 'IEEE80211_FC0_SUBTYPE_PROBE_RESP' undeclared (first use in this function) if_iwn.c:3129: error: 'IWN_TX_INSERT_TSTAMP' undeclared (first use in this function) if_iwn.c:3131: error: 'IEEE80211_FC0_SUBTYPE_ASSOC_REQ' undeclared (first use in this function) if_iwn.c:3132: error: 'IEEE80211_FC0_SUBTYPE_REASSOC_REQ' undeclared (first use in this function) if_iwn.c:3133: error: dereferencing pointer to incomplete type if_iwn.c:3135: error: dereferencing pointer to incomplete type if_iwn.c:3137: error: dereferencing pointer to incomplete type if_iwn.c:3141: error: 'IWN_TX_NEED_PADDING' undeclared (first use in this function) if_iwn.c:3147: error: dereferencing pointer to incomplete type if_iwn.c:3149: error: dereferencing pointer to incomplete type if_iwn.c:3150: error: dereferencing pointer to incomplete type if_iwn.c:3155: error: dereferencing pointer to incomplete type if_iwn.c:3156: error: dereferencing pointer to incomplete type if_iwn.c:3157: error: dereferencing pointer to incomplete type if_iwn.c:3157: error: dereferencing pointer to incomplete type if_iwn.c:3158: error: dereferencing pointer to incomplete type if_iwn.c:3158: error: dereferencing pointer to incomplete type if_iwn.c:3159: error: dereferencing pointer to incomplete type if_iwn.c:3159: error: dereferencing pointer to incomplete type if_iwn.c:3160: error: dereferencing pointer to incomplete type if_iwn.c:3160: error: 'IWN_LIFETIME_INFINITE' undeclared (first use in this function) if_iwn.c:3161: error: dereferencing pointer to incomplete type if_iwn.c:3161: error: dereferencing pointer to incomplete type if_iwn.c:3162: error: dereferencing pointer to incomplete type if_iwn.c:3162: error: dereferencing pointer to incomplete type if_iwn.c:3164: error: dereferencing pointer to incomplete type if_iwn.c:3165: error: dereferencing pointer to incomplete type if_iwn.c:3166: error: dereferencing pointer to incomplete type if_iwn.c:3168: error: dereferencing pointer to incomplete type if_iwn.c:3168: error: dereferencing pointer to incomplete type if_iwn.c:3168: error: invalid application of 'sizeof' to incomplete type 'struct iwn_tx_cmd' if_iwn.c:3169: error: dereferencing pointer to incomplete type if_iwn.c:3170: error: dereferencing pointer to incomplete type if_iwn.c:3173: error: invalid use of undefined type 'struct iwn_cmd_data' if_iwn.c:3177: error: dereferencing pointer to incomplete type if_iwn.c:3178: error: dereferencing pointer to incomplete type if_iwn.c:3181: error: dereferencing pointer to incomplete type if_iwn.c:3181: error: dereferencing pointer to incomplete type if_iwn.c:3185: error: 'M_DONTWAIT' undeclared (first use in this function) if_iwn.c:3185: warning: assignment makes pointer from integer without a cast if_iwn.c:3187: error: dereferencing pointer to incomplete type if_iwn.c:3193: error: dereferencing pointer to incomplete type if_iwn.c:3194: error: dereferencing pointer to incomplete type if_iwn.c:3197: error: dereferencing pointer to incomplete type if_iwn.c:3205: error: dereferencing pointer to incomplete type if_iwn.c:3206: error: dereferencing pointer to incomplete type if_iwn.c:3208: error: dereferencing pointer to incomplete type if_iwn.c:3208: error: dereferencing pointer to incomplete type if_iwn.c:3208: error: dereferencing pointer to incomplete type if_iwn.c:3212: error: dereferencing pointer to incomplete type if_iwn.c:3214: error: dereferencing pointer to incomplete type if_iwn.c:3214: error: dereferencing pointer to incomplete type if_iwn.c:3215: error: dereferencing pointer to incomplete type if_iwn.c:3215: error: dereferencing pointer to incomplete type if_iwn.c:3215: error: dereferencing pointer to incomplete type if_iwn.c:3219: error: dereferencing pointer to incomplete type if_iwn.c:3220: error: dereferencing pointer to incomplete type if_iwn.c:3224: error: dereferencing pointer to incomplete type if_iwn.c:3224: error: dereferencing pointer to incomplete type if_iwn.c:3224: error: dereferencing pointer to incomplete type if_iwn.c:3225: error: dereferencing pointer to incomplete type if_iwn.c:3225: error: dereferencing pointer to incomplete type if_iwn.c:3225: error: dereferencing pointer to incomplete type if_iwn.c:3227: error: dereferencing pointer to incomplete type if_iwn.c:3227: error: dereferencing pointer to incomplete type if_iwn.c:3227: error: dereferencing pointer to incomplete type if_iwn.c:3236: error: dereferencing pointer to incomplete type if_iwn.c:3236: error: dereferencing pointer to incomplete type if_iwn.c:3236: error: 'IWN_TX_RING_COUNT' undeclared (first use in this function) if_iwn.c:3237: error: 'IWN_HBUS_TARG_WRPTR' undeclared (first use in this function) if_iwn.c:3237: error: dereferencing pointer to incomplete type if_iwn.c:3237: error: dereferencing pointer to incomplete type if_iwn.c:3240: error: dereferencing pointer to incomplete type if_iwn.c:3240: error: 'IWN_TX_RING_HIMARK' undeclared (first use in this function) if_iwn.c:3241: error: dereferencing pointer to incomplete type if_iwn.c:3241: error: dereferencing pointer to incomplete type if_iwn.c:3068: warning: unused variable 'segs' if_iwn.c: At top level: if_iwn.c:3248: warning: 'struct ieee80211_bpf_params' declared inside parameter list if_iwn.c:3249: error: conflicting types for 'iwn_raw_xmit' if_iwn.c:156: error: previous declaration of 'iwn_raw_xmit' was here if_iwn.c: In function 'iwn_raw_xmit': if_iwn.c:3250: error: dereferencing pointer to incomplete type if_iwn.c:3251: error: dereferencing pointer to incomplete type if_iwn.c:3256: error: 'struct ifnet' has no member named 'if_drv_flags' if_iwn.c:3256: error: 'IFF_DRV_RUNNING' undeclared (first use in this function) if_iwn.c:3264: error: dereferencing pointer to incomplete type if_iwn.c:3264: warning: implicit declaration of function 'M_WME_GETAC' if_iwn.c:3264: warning: nested extern declaration of 'M_WME_GETAC' if_iwn.c:3266: error: dereferencing pointer to incomplete type if_iwn.c:3266: error: dereferencing pointer to incomplete type if_iwn.c:3273: warning: passing argument 1 of 'iwn_tx_data' from incompatible pointer type if_iwn.c:3273: warning: passing argument 4 of 'iwn_tx_data' from incompatible pointer type if_iwn.c:3279: warning: passing argument 1 of 'iwn_tx_data_raw' from incompatible pointer type if_iwn.c:3279: warning: passing argument 4 of 'iwn_tx_data_raw' from incompatible pointer type if_iwn.c:3279: warning: passing argument 5 of 'iwn_tx_data_raw' from incompatible pointer type if_iwn.c: In function 'iwn_start_locked': if_iwn.c:3312: error: dereferencing pointer to incomplete type if_iwn.c:3313: error: 'struct ifnet' has no member named 'if_drv_flags' if_iwn.c:3313: error: 'IFF_DRV_OACTIVE' undeclared (first use in this function) if_iwn.c:3316: warning: implicit declaration of function 'IFQ_DRV_DEQUEUE' if_iwn.c:3316: warning: nested extern declaration of 'IFQ_DRV_DEQUEUE' if_iwn.c:3321: error: dereferencing pointer to incomplete type if_iwn.c:3322: warning: passing argument 1 of 'iwn_tx_data' from incompatible pointer type if_iwn.c:3322: warning: passing argument 4 of 'iwn_tx_data' from incompatible pointer type if_iwn.c:3327: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:3332: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3333: error: conflicting types for 'iwn_watchdog' if_iwn.c:159: error: previous declaration of 'iwn_watchdog' was here if_iwn.c: In function 'iwn_watchdog': if_iwn.c:3334: error: dereferencing pointer to incomplete type if_iwn.c:3334: error: dereferencing pointer to incomplete type if_iwn.c:3335: error: dereferencing pointer to incomplete type if_iwn.c:3336: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:3339: error: dereferencing pointer to incomplete type if_iwn.c: In function 'iwn_ioctl': if_iwn.c:3347: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:3348: error: dereferencing pointer to incomplete type if_iwn.c:3356: error: 'struct ifnet' has no member named 'if_drv_flags' if_iwn.c:3356: error: 'IFF_DRV_RUNNING' undeclared (first use in this function) if_iwn.c:3357: warning: passing argument 1 of 'iwn_init_locked' from incompatible pointer type if_iwn.c:3358: error: 'IWN_GP_CNTRL' undeclared (first use in this function) if_iwn.c:3358: error: 'IWN_GP_CNTRL_RFKILL' undeclared (first use in this function) if_iwn.c:3364: error: 'struct ifnet' has no member named 'if_drv_flags' if_iwn.c:3365: warning: passing argument 1 of 'iwn_stop_locked' from incompatible pointer type if_iwn.c:3369: warning: implicit declaration of function 'ieee80211_start_all' if_iwn.c:3369: warning: nested extern declaration of 'ieee80211_start_all' if_iwn.c:3371: warning: implicit declaration of function 'ieee80211_stop' if_iwn.c:3371: warning: nested extern declaration of 'ieee80211_stop' if_iwn.c:3374: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:3390: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3391: error: conflicting types for 'iwn_cmd' if_iwn.c:161: error: previous declaration of 'iwn_cmd' was here if_iwn.c: In function 'iwn_cmd': if_iwn.c:3392: error: dereferencing pointer to incomplete type if_iwn.c:3402: error: dereferencing pointer to incomplete type if_iwn.c:3402: error: dereferencing pointer to incomplete type if_iwn.c:3403: error: dereferencing pointer to incomplete type if_iwn.c:3403: error: dereferencing pointer to incomplete type if_iwn.c:3406: error: dereferencing pointer to incomplete type if_iwn.c:3410: error: 'M_DONTWAIT' undeclared (first use in this function) if_iwn.c:3410: warning: assignment makes pointer from integer without a cast if_iwn.c:3414: error: dereferencing pointer to incomplete type if_iwn.c:3414: error: dereferencing pointer to incomplete type if_iwn.c:3420: error: dereferencing pointer to incomplete type if_iwn.c:3422: error: dereferencing pointer to incomplete type if_iwn.c:3422: error: dereferencing pointer to incomplete type if_iwn.c:3423: error: dereferencing pointer to incomplete type if_iwn.c:3426: error: dereferencing pointer to incomplete type if_iwn.c:3427: error: dereferencing pointer to incomplete type if_iwn.c:3428: error: dereferencing pointer to incomplete type if_iwn.c:3428: error: dereferencing pointer to incomplete type if_iwn.c:3429: error: dereferencing pointer to incomplete type if_iwn.c:3429: error: dereferencing pointer to incomplete type if_iwn.c:3430: error: dereferencing pointer to incomplete type if_iwn.c:3432: error: dereferencing pointer to incomplete type if_iwn.c:3433: error: dereferencing pointer to incomplete type if_iwn.c:3434: error: dereferencing pointer to incomplete type if_iwn.c:3436: error: dereferencing pointer to incomplete type if_iwn.c:3436: error: dereferencing pointer to incomplete type if_iwn.c:3436: error: dereferencing pointer to incomplete type if_iwn.c:3436: error: dereferencing pointer to incomplete type if_iwn.c:3436: error: dereferencing pointer to incomplete type if_iwn.c:3436: error: dereferencing pointer to incomplete type if_iwn.c:3440: error: dereferencing pointer to incomplete type if_iwn.c:3441: error: dereferencing pointer to incomplete type if_iwn.c:3441: error: dereferencing pointer to incomplete type if_iwn.c:3441: error: dereferencing pointer to incomplete type if_iwn.c:3444: error: dereferencing pointer to incomplete type if_iwn.c:3444: error: dereferencing pointer to incomplete type if_iwn.c:3444: error: dereferencing pointer to incomplete type if_iwn.c:3447: error: dereferencing pointer to incomplete type if_iwn.c:3447: error: dereferencing pointer to incomplete type if_iwn.c:3447: error: dereferencing pointer to incomplete type if_iwn.c:3456: error: dereferencing pointer to incomplete type if_iwn.c:3456: error: dereferencing pointer to incomplete type if_iwn.c:3456: error: 'IWN_TX_RING_COUNT' undeclared (first use in this function) if_iwn.c:3457: error: 'IWN_HBUS_TARG_WRPTR' undeclared (first use in this function) if_iwn.c:3457: error: dereferencing pointer to incomplete type if_iwn.c:3457: error: dereferencing pointer to incomplete type if_iwn.c:3459: warning: implicit declaration of function 'msleep' if_iwn.c:3459: warning: nested extern declaration of 'msleep' if_iwn.c:3459: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:3463: warning: 'struct iwn_node_info' declared inside parameter list if_iwn.c:3463: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3464: error: conflicting types for 'iwn4965_add_node' if_iwn.c:163: error: previous declaration of 'iwn4965_add_node' was here if_iwn.c: In function 'iwn4965_add_node': if_iwn.c:3465: error: storage size of 'hnode' isn't known if_iwn.c:3478: error: 'IWN_CMD_ADD_NODE' undeclared (first use in this function) if_iwn.c:3478: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:3465: warning: unused variable 'hnode' if_iwn.c: At top level: if_iwn.c:3482: warning: 'struct iwn_node_info' declared inside parameter list if_iwn.c:3482: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3483: error: conflicting types for 'iwn5000_add_node' if_iwn.c:165: error: previous declaration of 'iwn5000_add_node' was here if_iwn.c: In function 'iwn5000_add_node': if_iwn.c:3485: error: 'IWN_CMD_ADD_NODE' undeclared (first use in this function) if_iwn.c:3485: error: dereferencing pointer to incomplete type if_iwn.c:3485: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:3513: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3514: error: conflicting types for 'iwn_set_link_quality' if_iwn.c:166: error: previous declaration of 'iwn_set_link_quality' was here if_iwn.c: In function 'iwn_set_link_quality': if_iwn.c:3515: error: dereferencing pointer to incomplete type if_iwn.c:3516: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:3517: error: storage size of 'linkq' isn't known if_iwn.c:3523: error: dereferencing pointer to incomplete type if_iwn.c:3528: error: 'IWN_ANT_AB' undeclared (first use in this function) if_iwn.c:3538: error: 'IWN_ID_BSS' undeclared (first use in this function) if_iwn.c:3539: error: 'IWN_RIDX_OFDM54' undeclared (first use in this function) if_iwn.c:3540: warning: implicit declaration of function 'IEEE80211_IS_CHAN_A' if_iwn.c:3540: warning: nested extern declaration of 'IEEE80211_IS_CHAN_A' if_iwn.c:3540: error: dereferencing pointer to incomplete type if_iwn.c:3541: error: 'IWN_RIDX_OFDM6' undeclared (first use in this function) if_iwn.c:3543: error: 'IWN_RIDX_CCK1' undeclared (first use in this function) if_iwn.c:3545: error: 'IWN_MAX_TX_RETRIES' undeclared (first use in this function) if_iwn.c:3546: error: 'iwn_rates' undeclared (first use in this function) if_iwn.c:3562: error: dereferencing pointer to incomplete type if_iwn.c:3563: error: dereferencing pointer to incomplete type if_iwn.c:3569: error: dereferencing pointer to incomplete type if_iwn.c:3579: error: 'IWN_CMD_LINK_QUALITY' undeclared (first use in this function) if_iwn.c:3579: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:3517: warning: unused variable 'linkq' if_iwn.c: At top level: if_iwn.c:3586: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3587: error: conflicting types for 'iwn_add_broadcast_node' if_iwn.c:167: error: previous declaration of 'iwn_add_broadcast_node' was here if_iwn.c: In function 'iwn_add_broadcast_node': if_iwn.c:3588: error: dereferencing pointer to incomplete type if_iwn.c:3589: error: dereferencing pointer to incomplete type if_iwn.c:3590: error: storage size of 'node' isn't known if_iwn.c:3594: warning: implicit declaration of function 'IEEE80211_ADDR_COPY' if_iwn.c:3594: warning: nested extern declaration of 'IEEE80211_ADDR_COPY' if_iwn.c:3595: error: dereferencing pointer to incomplete type if_iwn.c:3596: error: dereferencing pointer to incomplete type if_iwn.c:3597: error: dereferencing pointer to incomplete type if_iwn.c:3601: error: dereferencing pointer to incomplete type if_iwn.c:3601: warning: passing argument 1 of 'iwn_set_link_quality' from incompatible pointer type if_iwn.c:3590: warning: unused variable 'node' if_iwn.c: At top level: if_iwn.c:3606: warning: 'struct ieee80211com' declared inside parameter list if_iwn.c:3607: error: conflicting types for 'iwn_wme_update' if_iwn.c:168: error: previous declaration of 'iwn_wme_update' was here if_iwn.c: In function 'iwn_wme_update': if_iwn.c:3610: error: dereferencing pointer to incomplete type if_iwn.c:3611: error: storage size of 'cmd' isn't known if_iwn.c:3615: error: 'IWN_EDCA_UPDATE' undeclared (first use in this function) if_iwn.c:3616: error: 'WME_NUM_AC' undeclared (first use in this function) if_iwn.c:3618: error: dereferencing pointer to incomplete type if_iwn.c:3619: error: dereferencing pointer to incomplete type if_iwn.c:3620: error: dereferencing pointer to incomplete type if_iwn.c:3621: error: dereferencing pointer to incomplete type if_iwn.c:3623: error: dereferencing pointer to incomplete type if_iwn.c:3627: error: 'IWN_CMD_EDCA_PARAMS' undeclared (first use in this function) if_iwn.c:3627: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:3611: warning: unused variable 'cmd' if_iwn.c: At top level: if_iwn.c:3642: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3643: error: conflicting types for 'iwn_set_led' if_iwn.c:170: error: previous declaration of 'iwn_set_led' was here if_iwn.c: In function 'iwn_set_led': if_iwn.c:3644: error: storage size of 'led' isn't known if_iwn.c:3647: error: 'IWN_LED' undeclared (first use in this function) if_iwn.c:3647: error: 'IWN_LED_BSM_CTRL' undeclared (first use in this function) if_iwn.c:3653: error: 'IWN_CMD_SET_LED' undeclared (first use in this function) if_iwn.c:3653: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:3644: warning: unused variable 'led' if_iwn.c: At top level: if_iwn.c:3661: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3662: error: conflicting types for 'iwn_set_critical_temp' if_iwn.c:171: error: previous declaration of 'iwn_set_critical_temp' was here if_iwn.c: In function 'iwn_set_critical_temp': if_iwn.c:3663: error: storage size of 'crit' isn't known if_iwn.c:3666: error: 'IWN_UCODE_GP1_CLR' undeclared (first use in this function) if_iwn.c:3666: error: 'IWN_UCODE_GP1_CTEMP_STOP_RF' undeclared (first use in this function) if_iwn.c:3668: error: dereferencing pointer to incomplete type if_iwn.c:3668: error: 'IWN_HW_REV_TYPE_5150' undeclared (first use in this function) if_iwn.c:3669: warning: implicit declaration of function 'IWN_CTOK' if_iwn.c:3669: warning: nested extern declaration of 'IWN_CTOK' if_iwn.c:3669: error: dereferencing pointer to incomplete type if_iwn.c:3670: error: dereferencing pointer to incomplete type if_iwn.c:3670: error: 'IWN_HW_REV_TYPE_4965' undeclared (first use in this function) if_iwn.c:3676: error: dereferencing pointer to incomplete type if_iwn.c:3678: error: 'IWN_CMD_SET_CRITICAL_TEMP' undeclared (first use in this function) if_iwn.c:3678: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:3663: warning: unused variable 'crit' if_iwn.c: At top level: if_iwn.c:3682: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3683: error: conflicting types for 'iwn_set_timing' if_iwn.c:172: error: previous declaration of 'iwn_set_timing' was here if_iwn.c: In function 'iwn_set_timing': if_iwn.c:3684: error: storage size of 'cmd' isn't known if_iwn.c:3688: error: dereferencing pointer to incomplete type if_iwn.c:3689: error: dereferencing pointer to incomplete type if_iwn.c:3693: error: dereferencing pointer to incomplete type if_iwn.c:3697: error: dereferencing pointer to incomplete type if_iwn.c:3697: error: dereferencing pointer to incomplete type if_iwn.c:3700: error: 'IWN_CMD_TIMING' undeclared (first use in this function) if_iwn.c:3700: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:3684: warning: unused variable 'cmd' if_iwn.c: At top level: if_iwn.c:3704: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3705: error: conflicting types for 'iwn4965_power_calibration' if_iwn.c:173: error: previous declaration of 'iwn4965_power_calibration' was here if_iwn.c: In function 'iwn4965_power_calibration': if_iwn.c:3706: error: dereferencing pointer to incomplete type if_iwn.c:3707: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:3710: error: dereferencing pointer to incomplete type if_iwn.c:3710: error: dereferencing pointer to incomplete type if_iwn.c:3712: warning: implicit declaration of function 'abs' if_iwn.c:3712: warning: nested extern declaration of 'abs' if_iwn.c:3712: error: dereferencing pointer to incomplete type if_iwn.c:3714: error: dereferencing pointer to incomplete type if_iwn.c:3715: error: dereferencing pointer to incomplete type if_iwn.c:3715: warning: passing argument 1 of 'iwn4965_set_txpower' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:3726: warning: 'struct ieee80211_channel' declared inside parameter list if_iwn.c:3726: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3727: error: conflicting types for 'iwn4965_set_txpower' if_iwn.c:175: error: previous declaration of 'iwn4965_set_txpower' was here if_iwn.c: In function 'iwn4965_set_txpower': if_iwn.c:3735: error: 'IWN_NATTEN_GROUPS' undeclared (first use in this function) if_iwn.c:3736: error: dereferencing pointer to incomplete type if_iwn.c:3737: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:3738: error: dereferencing pointer to incomplete type if_iwn.c:3739: error: storage size of 'cmd' isn't known if_iwn.c:3747: warning: implicit declaration of function 'ieee80211_chan2ieee' if_iwn.c:3747: warning: nested extern declaration of 'ieee80211_chan2ieee' if_iwn.c:3748: error: dereferencing pointer to incomplete type if_iwn.c:3752: warning: implicit declaration of function 'IEEE80211_IS_CHAN_5GHZ' if_iwn.c:3752: warning: nested extern declaration of 'IEEE80211_IS_CHAN_5GHZ' if_iwn.c:3756: error: dereferencing pointer to incomplete type if_iwn.c:3757: error: 'iwn4965_rf_gain_5ghz' undeclared (first use in this function) if_iwn.c:3758: error: 'iwn4965_dsp_gain_5ghz' undeclared (first use in this function) if_iwn.c:3760: error: dereferencing pointer to incomplete type if_iwn.c:3761: error: 'iwn4965_rf_gain_2ghz' undeclared (first use in this function) if_iwn.c:3762: error: 'iwn4965_dsp_gain_2ghz' undeclared (first use in this function) if_iwn.c:3766: error: dereferencing pointer to incomplete type if_iwn.c:3766: error: dereferencing pointer to incomplete type if_iwn.c:3771: error: dereferencing pointer to incomplete type if_iwn.c:3771: error: dereferencing pointer to incomplete type if_iwn.c:3771: error: dereferencing pointer to incomplete type if_iwn.c:3786: error: dereferencing pointer to incomplete type if_iwn.c:3790: error: 'IWN_NBANDS' undeclared (first use in this function) if_iwn.c:3791: error: dereferencing pointer to incomplete type if_iwn.c:3792: error: dereferencing pointer to incomplete type if_iwn.c:3792: error: dereferencing pointer to incomplete type if_iwn.c:3796: error: dereferencing pointer to incomplete type if_iwn.c:3797: error: dereferencing pointer to incomplete type if_iwn.c:3804: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3804: error: dereferencing pointer to incomplete type if_iwn.c:3804: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3804: error: dereferencing pointer to incomplete type if_iwn.c:3804: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3804: error: dereferencing pointer to incomplete type if_iwn.c:3804: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3804: error: dereferencing pointer to incomplete type if_iwn.c:3804: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3804: error: dereferencing pointer to incomplete type if_iwn.c:3804: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3804: error: dereferencing pointer to incomplete type if_iwn.c:3807: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3807: error: dereferencing pointer to incomplete type if_iwn.c:3807: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3807: error: dereferencing pointer to incomplete type if_iwn.c:3807: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3807: error: dereferencing pointer to incomplete type if_iwn.c:3807: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3807: error: dereferencing pointer to incomplete type if_iwn.c:3807: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3807: error: dereferencing pointer to incomplete type if_iwn.c:3807: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3807: error: dereferencing pointer to incomplete type if_iwn.c:3810: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3810: error: dereferencing pointer to incomplete type if_iwn.c:3810: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3810: error: dereferencing pointer to incomplete type if_iwn.c:3810: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3810: error: dereferencing pointer to incomplete type if_iwn.c:3810: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3810: error: dereferencing pointer to incomplete type if_iwn.c:3810: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3810: error: dereferencing pointer to incomplete type if_iwn.c:3810: error: invalid use of undefined type 'struct iwn4965_eeprom_chan_samples' if_iwn.c:3810: error: dereferencing pointer to incomplete type if_iwn.c:3813: error: dereferencing pointer to incomplete type if_iwn.c:3818: error: dereferencing pointer to incomplete type if_iwn.c:3819: error: dereferencing pointer to incomplete type if_iwn.c:3819: error: dereferencing pointer to incomplete type if_iwn.c:3823: error: 'IWN_RIDX_MAX' undeclared (first use in this function) if_iwn.c:3825: error: dereferencing pointer to incomplete type if_iwn.c:3847: error: dereferencing pointer to incomplete type if_iwn.c:3857: error: 'IWN4965_MAX_PWR_INDEX' undeclared (first use in this function) if_iwn.c:3860: error: dereferencing pointer to incomplete type if_iwn.c:3868: error: dereferencing pointer to incomplete type if_iwn.c:3870: error: 'IWN_CMD_TXPOWER' undeclared (first use in this function) if_iwn.c:3870: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:3739: warning: unused variable 'cmd' if_iwn.c:3735: warning: unused variable 'tdiv' if_iwn.c: At top level: if_iwn.c:3878: warning: 'struct ieee80211_channel' declared inside parameter list if_iwn.c:3878: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3879: error: conflicting types for 'iwn5000_set_txpower' if_iwn.c:177: error: previous declaration of 'iwn5000_set_txpower' was here if_iwn.c: In function 'iwn5000_set_txpower': if_iwn.c:3880: error: storage size of 'cmd' isn't known if_iwn.c:3887: error: 'IWN5000_TXPOWER_MAX_DBM' undeclared (first use in this function) if_iwn.c:3888: error: 'IWN5000_TXPOWER_NO_CLOSED' undeclared (first use in this function) if_iwn.c:3889: error: 'IWN5000_TXPOWER_AUTO' undeclared (first use in this function) if_iwn.c:3890: error: dereferencing pointer to incomplete type if_iwn.c:3891: error: 'IWN_CMD_TXPOWER_DBM' undeclared (first use in this function) if_iwn.c:3891: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:3880: warning: unused variable 'cmd' if_iwn.c: At top level: if_iwn.c:3898: warning: 'struct iwn_rx_stat' declared inside parameter list if_iwn.c:3898: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3899: error: conflicting types for 'iwn4965_get_rssi' if_iwn.c:178: error: previous declaration of 'iwn4965_get_rssi' was here if_iwn.c: In function 'iwn4965_get_rssi': if_iwn.c:3900: error: dereferencing pointer to incomplete type if_iwn.c:3904: error: dereferencing pointer to incomplete type if_iwn.c:3904: error: 'IWN_ANT_ABC' undeclared (first use in this function) if_iwn.c:3905: error: dereferencing pointer to incomplete type if_iwn.c:3916: error: dereferencing pointer to incomplete type if_iwn.c:3917: error: dereferencing pointer to incomplete type if_iwn.c:3918: error: dereferencing pointer to incomplete type if_iwn.c:3921: error: dereferencing pointer to incomplete type if_iwn.c:3921: error: dereferencing pointer to incomplete type if_iwn.c:3921: error: dereferencing pointer to incomplete type if_iwn.c:3921: error: dereferencing pointer to incomplete type if_iwn.c:3921: error: 'IWN_RSSI_TO_DBM' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:3929: warning: 'struct iwn_rx_stat' declared inside parameter list if_iwn.c:3929: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3930: error: conflicting types for 'iwn5000_get_rssi' if_iwn.c:179: error: previous declaration of 'iwn5000_get_rssi' was here if_iwn.c: In function 'iwn5000_get_rssi': if_iwn.c:3931: error: dereferencing pointer to incomplete type if_iwn.c:3935: error: dereferencing pointer to incomplete type if_iwn.c:3937: error: dereferencing pointer to incomplete type if_iwn.c:3937: error: dereferencing pointer to incomplete type if_iwn.c:3937: error: dereferencing pointer to incomplete type if_iwn.c:3937: error: dereferencing pointer to incomplete type if_iwn.c:3939: error: dereferencing pointer to incomplete type if_iwn.c:3939: error: dereferencing pointer to incomplete type if_iwn.c:3941: error: dereferencing pointer to incomplete type if_iwn.c:3941: error: dereferencing pointer to incomplete type if_iwn.c:3941: error: dereferencing pointer to incomplete type if_iwn.c:3941: error: dereferencing pointer to incomplete type if_iwn.c:3941: error: 'IWN_RSSI_TO_DBM' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:3952: warning: 'struct iwn_rx_general_stats' declared inside parameter list if_iwn.c:3953: error: conflicting types for 'iwn_get_noise' if_iwn.c:180: error: previous declaration of 'iwn_get_noise' was here if_iwn.c: In function 'iwn_get_noise': if_iwn.c:3958: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:3971: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3972: error: conflicting types for 'iwn4965_get_temperature' if_iwn.c:181: error: previous declaration of 'iwn4965_get_temperature' was here if_iwn.c: In function 'iwn4965_get_temperature': if_iwn.c:3973: error: dereferencing pointer to incomplete type if_iwn.c:3976: error: dereferencing pointer to incomplete type if_iwn.c:3977: error: dereferencing pointer to incomplete type if_iwn.c:3978: error: dereferencing pointer to incomplete type if_iwn.c:3979: error: dereferencing pointer to incomplete type if_iwn.c:3990: error: dereferencing pointer to incomplete type if_iwn.c:3990: warning: implicit declaration of function 'IWN_KTOC' if_iwn.c:3990: warning: nested extern declaration of 'IWN_KTOC' if_iwn.c: At top level: if_iwn.c:3996: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:3997: error: conflicting types for 'iwn5000_get_temperature' if_iwn.c:182: error: previous declaration of 'iwn5000_get_temperature' was here if_iwn.c: In function 'iwn5000_get_temperature': if_iwn.c:4005: error: dereferencing pointer to incomplete type if_iwn.c:4006: error: dereferencing pointer to incomplete type if_iwn.c:4006: error: 'IWN_HW_REV_TYPE_5150' undeclared (first use in this function) if_iwn.c:4007: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:4017: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:4018: error: conflicting types for 'iwn_init_sensitivity' if_iwn.c:183: error: previous declaration of 'iwn_init_sensitivity' was here if_iwn.c: In function 'iwn_init_sensitivity': if_iwn.c:4019: error: dereferencing pointer to incomplete type if_iwn.c:4020: error: dereferencing pointer to incomplete type if_iwn.c:4025: error: dereferencing pointer to incomplete type if_iwn.c:4026: error: dereferencing pointer to incomplete type if_iwn.c:4026: error: 'IWN_CALIB_STATE_INIT' undeclared (first use in this function) if_iwn.c:4027: error: dereferencing pointer to incomplete type if_iwn.c:4027: error: 'IWN_CCK_STATE_HIFA' undeclared (first use in this function) if_iwn.c:4029: error: dereferencing pointer to incomplete type if_iwn.c:4029: error: dereferencing pointer to incomplete type if_iwn.c:4030: error: dereferencing pointer to incomplete type if_iwn.c:4030: error: dereferencing pointer to incomplete type if_iwn.c:4031: error: dereferencing pointer to incomplete type if_iwn.c:4032: error: dereferencing pointer to incomplete type if_iwn.c:4032: error: dereferencing pointer to incomplete type if_iwn.c:4033: error: dereferencing pointer to incomplete type if_iwn.c:4034: error: dereferencing pointer to incomplete type if_iwn.c:4034: error: dereferencing pointer to incomplete type if_iwn.c:4035: error: dereferencing pointer to incomplete type if_iwn.c:4035: error: dereferencing pointer to incomplete type if_iwn.c:4038: warning: passing argument 1 of 'iwn_send_sensitivity' from incompatible pointer type if_iwn.c:4043: error: dereferencing pointer to incomplete type if_iwn.c:4049: error: dereferencing pointer to incomplete type if_iwn.c:4050: error: 'IWN_CMD_GET_STATISTICS' undeclared (first use in this function) if_iwn.c:4050: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:4060: warning: 'struct iwn_rx_general_stats' declared inside parameter list if_iwn.c:4060: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:4061: error: conflicting types for 'iwn_collect_noise' if_iwn.c:185: error: previous declaration of 'iwn_collect_noise' was here if_iwn.c: In function 'iwn_collect_noise': if_iwn.c:4062: error: dereferencing pointer to incomplete type if_iwn.c:4063: error: dereferencing pointer to incomplete type if_iwn.c:4069: error: dereferencing pointer to incomplete type if_iwn.c:4069: error: dereferencing pointer to incomplete type if_iwn.c:4070: error: dereferencing pointer to incomplete type if_iwn.c:4070: error: dereferencing pointer to incomplete type if_iwn.c:4073: error: dereferencing pointer to incomplete type if_iwn.c:4077: error: dereferencing pointer to incomplete type if_iwn.c:4077: error: dereferencing pointer to incomplete type if_iwn.c:4077: error: dereferencing pointer to incomplete type if_iwn.c:4077: error: dereferencing pointer to incomplete type if_iwn.c:4078: error: dereferencing pointer to incomplete type if_iwn.c:4078: error: dereferencing pointer to incomplete type if_iwn.c:4081: error: dereferencing pointer to incomplete type if_iwn.c:4083: error: dereferencing pointer to incomplete type if_iwn.c:4084: error: dereferencing pointer to incomplete type if_iwn.c:4086: error: dereferencing pointer to incomplete type if_iwn.c:4086: error: dereferencing pointer to incomplete type if_iwn.c:4087: error: dereferencing pointer to incomplete type if_iwn.c:4087: error: dereferencing pointer to incomplete type if_iwn.c:4089: error: dereferencing pointer to incomplete type if_iwn.c:4090: error: dereferencing pointer to incomplete type if_iwn.c:4090: error: 'IWN_CALIB_STATE_RUN' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:4107: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:4108: error: conflicting types for 'iwn4965_init_gains' if_iwn.c:186: error: previous declaration of 'iwn4965_init_gains' was here if_iwn.c: In function 'iwn4965_init_gains': if_iwn.c:4109: error: storage size of 'cmd' isn't known if_iwn.c:4112: error: 'IWN4965_PHY_CALIB_DIFF_GAIN' undeclared (first use in this function) if_iwn.c:4114: error: dereferencing pointer to incomplete type if_iwn.c:4116: error: 'IWN_CMD_PHY_CALIB' undeclared (first use in this function) if_iwn.c:4116: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:4109: warning: unused variable 'cmd' if_iwn.c: At top level: if_iwn.c:4120: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:4121: error: conflicting types for 'iwn5000_init_gains' if_iwn.c:187: error: previous declaration of 'iwn5000_init_gains' was here if_iwn.c: In function 'iwn5000_init_gains': if_iwn.c:4122: error: storage size of 'cmd' isn't known if_iwn.c:4124: error: dereferencing pointer to incomplete type if_iwn.c:4124: error: 'IWN_HW_REV_TYPE_6050' undeclared (first use in this function) if_iwn.c:4128: error: 'IWN5000_PHY_CALIB_RESET_NOISE_GAIN' undeclared (first use in this function) if_iwn.c:4131: error: dereferencing pointer to incomplete type if_iwn.c:4133: error: 'IWN_CMD_PHY_CALIB' undeclared (first use in this function) if_iwn.c:4133: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:4122: warning: unused variable 'cmd' if_iwn.c: At top level: if_iwn.c:4137: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:4138: error: conflicting types for 'iwn4965_set_gains' if_iwn.c:188: error: previous declaration of 'iwn4965_set_gains' was here if_iwn.c: In function 'iwn4965_set_gains': if_iwn.c:4139: error: dereferencing pointer to incomplete type if_iwn.c:4140: error: storage size of 'cmd' isn't known if_iwn.c:4146: error: dereferencing pointer to incomplete type if_iwn.c:4147: error: dereferencing pointer to incomplete type if_iwn.c:4147: error: dereferencing pointer to incomplete type if_iwn.c:4150: error: 'IWN4965_PHY_CALIB_DIFF_GAIN' undeclared (first use in this function) if_iwn.c:4153: error: dereferencing pointer to incomplete type if_iwn.c:4155: error: dereferencing pointer to incomplete type if_iwn.c:4163: error: dereferencing pointer to incomplete type if_iwn.c:4163: error: dereferencing pointer to incomplete type if_iwn.c:4166: error: 'IWN_CMD_PHY_CALIB' undeclared (first use in this function) if_iwn.c:4166: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:4140: warning: unused variable 'cmd' if_iwn.c: At top level: if_iwn.c:4170: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:4171: error: conflicting types for 'iwn5000_set_gains' if_iwn.c:189: error: previous declaration of 'iwn5000_set_gains' was here if_iwn.c: In function 'iwn5000_set_gains': if_iwn.c:4172: error: dereferencing pointer to incomplete type if_iwn.c:4173: error: storage size of 'cmd' isn't known if_iwn.c:4176: error: dereferencing pointer to incomplete type if_iwn.c:4176: error: 'IWN_HW_REV_TYPE_6050' undeclared (first use in this function) if_iwn.c:4180: error: 'IWN5000_PHY_CALIB_NOISE_GAIN' undeclared (first use in this function) if_iwn.c:4184: error: dereferencing pointer to incomplete type if_iwn.c:4187: error: dereferencing pointer to incomplete type if_iwn.c:4189: error: dereferencing pointer to incomplete type if_iwn.c:4190: error: dereferencing pointer to incomplete type if_iwn.c:4197: error: dereferencing pointer to incomplete type if_iwn.c:4197: error: dereferencing pointer to incomplete type if_iwn.c:4200: error: 'IWN_CMD_PHY_CALIB' undeclared (first use in this function) if_iwn.c:4200: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:4173: warning: unused variable 'cmd' if_iwn.c: At top level: if_iwn.c:4208: warning: 'struct iwn_rx_stats' declared inside parameter list if_iwn.c:4208: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:4209: error: conflicting types for 'iwn_tune_sensitivity' if_iwn.c:191: error: previous declaration of 'iwn_tune_sensitivity' was here if_iwn.c: In function 'iwn_tune_sensitivity': if_iwn.c:4227: error: dereferencing pointer to incomplete type if_iwn.c:4228: error: dereferencing pointer to incomplete type if_iwn.c:4235: error: dereferencing pointer to incomplete type if_iwn.c:4240: error: dereferencing pointer to incomplete type if_iwn.c:4240: error: dereferencing pointer to incomplete type if_iwn.c:4241: error: dereferencing pointer to incomplete type if_iwn.c:4241: error: dereferencing pointer to incomplete type if_iwn.c:4245: error: dereferencing pointer to incomplete type if_iwn.c:4245: error: dereferencing pointer to incomplete type if_iwn.c:4246: error: dereferencing pointer to incomplete type if_iwn.c:4246: error: dereferencing pointer to incomplete type if_iwn.c:4250: error: dereferencing pointer to incomplete type if_iwn.c:4252: error: dereferencing pointer to incomplete type if_iwn.c:4252: error: dereferencing pointer to incomplete type if_iwn.c:4252: error: dereferencing pointer to incomplete type if_iwn.c:4252: error: dereferencing pointer to incomplete type if_iwn.c:4252: error: dereferencing pointer to incomplete type if_iwn.c:4252: error: dereferencing pointer to incomplete type if_iwn.c:4252: error: dereferencing pointer to incomplete type if_iwn.c:4253: error: dereferencing pointer to incomplete type if_iwn.c:4253: error: dereferencing pointer to incomplete type if_iwn.c:4253: error: dereferencing pointer to incomplete type if_iwn.c:4253: error: dereferencing pointer to incomplete type if_iwn.c:4253: error: dereferencing pointer to incomplete type if_iwn.c:4253: error: dereferencing pointer to incomplete type if_iwn.c:4253: error: dereferencing pointer to incomplete type if_iwn.c:4254: error: dereferencing pointer to incomplete type if_iwn.c:4254: error: dereferencing pointer to incomplete type if_iwn.c:4254: error: dereferencing pointer to incomplete type if_iwn.c:4254: error: dereferencing pointer to incomplete type if_iwn.c:4254: error: dereferencing pointer to incomplete type if_iwn.c:4254: error: dereferencing pointer to incomplete type if_iwn.c:4254: error: dereferencing pointer to incomplete type if_iwn.c:4255: error: dereferencing pointer to incomplete type if_iwn.c:4255: error: dereferencing pointer to incomplete type if_iwn.c:4255: error: dereferencing pointer to incomplete type if_iwn.c:4255: error: dereferencing pointer to incomplete type if_iwn.c:4255: error: dereferencing pointer to incomplete type if_iwn.c:4255: error: dereferencing pointer to incomplete type if_iwn.c:4255: error: dereferencing pointer to incomplete type if_iwn.c:4259: error: dereferencing pointer to incomplete type if_iwn.c:4261: error: dereferencing pointer to incomplete type if_iwn.c:4261: error: dereferencing pointer to incomplete type if_iwn.c:4261: error: dereferencing pointer to incomplete type if_iwn.c:4261: error: dereferencing pointer to incomplete type if_iwn.c:4261: error: dereferencing pointer to incomplete type if_iwn.c:4261: error: dereferencing pointer to incomplete type if_iwn.c:4261: error: dereferencing pointer to incomplete type if_iwn.c:4262: error: dereferencing pointer to incomplete type if_iwn.c:4262: error: dereferencing pointer to incomplete type if_iwn.c:4262: error: dereferencing pointer to incomplete type if_iwn.c:4262: error: dereferencing pointer to incomplete type if_iwn.c:4262: error: dereferencing pointer to incomplete type if_iwn.c:4262: error: dereferencing pointer to incomplete type if_iwn.c:4262: error: dereferencing pointer to incomplete type if_iwn.c:4263: error: dereferencing pointer to incomplete type if_iwn.c:4263: error: dereferencing pointer to incomplete type if_iwn.c:4263: error: dereferencing pointer to incomplete type if_iwn.c:4263: error: dereferencing pointer to incomplete type if_iwn.c:4263: error: dereferencing pointer to incomplete type if_iwn.c:4263: error: dereferencing pointer to incomplete type if_iwn.c:4263: error: dereferencing pointer to incomplete type if_iwn.c:4264: error: dereferencing pointer to incomplete type if_iwn.c:4264: error: dereferencing pointer to incomplete type if_iwn.c:4264: error: dereferencing pointer to incomplete type if_iwn.c:4264: error: dereferencing pointer to incomplete type if_iwn.c:4264: error: dereferencing pointer to incomplete type if_iwn.c:4264: error: dereferencing pointer to incomplete type if_iwn.c:4264: error: dereferencing pointer to incomplete type if_iwn.c:4269: error: dereferencing pointer to incomplete type if_iwn.c:4273: error: dereferencing pointer to incomplete type if_iwn.c:4273: error: dereferencing pointer to incomplete type if_iwn.c:4274: error: dereferencing pointer to incomplete type if_iwn.c:4274: error: dereferencing pointer to incomplete type if_iwn.c:4277: error: dereferencing pointer to incomplete type if_iwn.c:4279: error: dereferencing pointer to incomplete type if_iwn.c:4279: error: dereferencing pointer to incomplete type if_iwn.c:4283: error: dereferencing pointer to incomplete type if_iwn.c:4287: error: dereferencing pointer to incomplete type if_iwn.c:4287: error: dereferencing pointer to incomplete type if_iwn.c:4288: error: dereferencing pointer to incomplete type if_iwn.c:4288: error: dereferencing pointer to incomplete type if_iwn.c:4291: error: dereferencing pointer to incomplete type if_iwn.c:4293: error: dereferencing pointer to incomplete type if_iwn.c:4293: error: dereferencing pointer to incomplete type if_iwn.c:4297: error: dereferencing pointer to incomplete type if_iwn.c:4297: error: dereferencing pointer to incomplete type if_iwn.c:4298: error: dereferencing pointer to incomplete type if_iwn.c:4298: error: dereferencing pointer to incomplete type if_iwn.c:4302: error: dereferencing pointer to incomplete type if_iwn.c:4302: error: dereferencing pointer to incomplete type if_iwn.c:4303: error: dereferencing pointer to incomplete type if_iwn.c:4303: error: dereferencing pointer to incomplete type if_iwn.c:4307: error: dereferencing pointer to incomplete type if_iwn.c:4309: error: dereferencing pointer to incomplete type if_iwn.c:4309: error: 'IWN_CCK_STATE_HIFA' undeclared (first use in this function) if_iwn.c:4310: error: dereferencing pointer to incomplete type if_iwn.c:4312: error: dereferencing pointer to incomplete type if_iwn.c:4313: error: dereferencing pointer to incomplete type if_iwn.c:4314: error: dereferencing pointer to incomplete type if_iwn.c:4315: error: dereferencing pointer to incomplete type if_iwn.c:4315: error: dereferencing pointer to incomplete type if_iwn.c:4315: error: dereferencing pointer to incomplete type if_iwn.c:4315: error: dereferencing pointer to incomplete type if_iwn.c:4317: error: dereferencing pointer to incomplete type if_iwn.c:4318: error: dereferencing pointer to incomplete type if_iwn.c:4321: error: dereferencing pointer to incomplete type if_iwn.c:4321: error: dereferencing pointer to incomplete type if_iwn.c:4321: error: dereferencing pointer to incomplete type if_iwn.c:4321: error: dereferencing pointer to incomplete type if_iwn.c:4321: error: dereferencing pointer to incomplete type if_iwn.c:4321: error: dereferencing pointer to incomplete type if_iwn.c:4321: error: dereferencing pointer to incomplete type if_iwn.c:4323: error: dereferencing pointer to incomplete type if_iwn.c:4323: error: dereferencing pointer to incomplete type if_iwn.c:4323: error: dereferencing pointer to incomplete type if_iwn.c:4323: error: dereferencing pointer to incomplete type if_iwn.c:4323: error: dereferencing pointer to incomplete type if_iwn.c:4323: error: dereferencing pointer to incomplete type if_iwn.c:4323: error: dereferencing pointer to incomplete type if_iwn.c:4327: error: dereferencing pointer to incomplete type if_iwn.c:4329: error: dereferencing pointer to incomplete type if_iwn.c:4329: error: 'IWN_CCK_STATE_LOFA' undeclared (first use in this function) if_iwn.c:4330: error: dereferencing pointer to incomplete type if_iwn.c:4332: error: dereferencing pointer to incomplete type if_iwn.c:4332: error: 'IWN_CCK_STATE_INIT' undeclared (first use in this function) if_iwn.c:4333: error: dereferencing pointer to incomplete type if_iwn.c:4334: error: dereferencing pointer to incomplete type if_iwn.c:4335: error: dereferencing pointer to incomplete type if_iwn.c:4335: error: dereferencing pointer to incomplete type if_iwn.c:4335: error: dereferencing pointer to incomplete type if_iwn.c:4335: error: dereferencing pointer to incomplete type if_iwn.c:4335: error: dereferencing pointer to incomplete type if_iwn.c:4335: error: dereferencing pointer to incomplete type if_iwn.c:4335: error: dereferencing pointer to incomplete type if_iwn.c:4336: error: dereferencing pointer to incomplete type if_iwn.c:4336: error: dereferencing pointer to incomplete type if_iwn.c:4336: error: dereferencing pointer to incomplete type if_iwn.c:4336: error: dereferencing pointer to incomplete type if_iwn.c:4336: error: dereferencing pointer to incomplete type if_iwn.c:4336: error: dereferencing pointer to incomplete type if_iwn.c:4336: error: dereferencing pointer to incomplete type if_iwn.c:4337: error: dereferencing pointer to incomplete type if_iwn.c:4337: error: dereferencing pointer to incomplete type if_iwn.c:4337: error: dereferencing pointer to incomplete type if_iwn.c:4337: error: dereferencing pointer to incomplete type if_iwn.c:4337: error: dereferencing pointer to incomplete type if_iwn.c:4337: error: dereferencing pointer to incomplete type if_iwn.c:4337: error: dereferencing pointer to incomplete type if_iwn.c:4341: error: dereferencing pointer to incomplete type if_iwn.c:4343: error: dereferencing pointer to incomplete type if_iwn.c:4344: error: dereferencing pointer to incomplete type if_iwn.c:4346: error: dereferencing pointer to incomplete type if_iwn.c:4348: error: dereferencing pointer to incomplete type if_iwn.c:4348: error: dereferencing pointer to incomplete type if_iwn.c:4348: error: dereferencing pointer to incomplete type if_iwn.c:4348: error: dereferencing pointer to incomplete type if_iwn.c:4350: error: dereferencing pointer to incomplete type if_iwn.c:4354: warning: passing argument 1 of 'iwn_send_sensitivity' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:4360: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:4361: error: conflicting types for 'iwn_send_sensitivity' if_iwn.c:192: error: previous declaration of 'iwn_send_sensitivity' was here if_iwn.c: In function 'iwn_send_sensitivity': if_iwn.c:4362: error: dereferencing pointer to incomplete type if_iwn.c:4363: error: storage size of 'cmd' isn't known if_iwn.c:4366: error: 'IWN_SENSITIVITY_WORKTBL' undeclared (first use in this function) if_iwn.c:4368: error: dereferencing pointer to incomplete type if_iwn.c:4369: error: dereferencing pointer to incomplete type if_iwn.c:4370: error: dereferencing pointer to incomplete type if_iwn.c:4371: error: dereferencing pointer to incomplete type if_iwn.c:4372: error: dereferencing pointer to incomplete type if_iwn.c:4375: error: dereferencing pointer to incomplete type if_iwn.c:4376: error: dereferencing pointer to incomplete type if_iwn.c:4377: error: dereferencing pointer to incomplete type if_iwn.c:4382: error: dereferencing pointer to incomplete type if_iwn.c:4382: error: dereferencing pointer to incomplete type if_iwn.c:4382: error: dereferencing pointer to incomplete type if_iwn.c:4382: error: dereferencing pointer to incomplete type if_iwn.c:4382: error: dereferencing pointer to incomplete type if_iwn.c:4382: error: dereferencing pointer to incomplete type if_iwn.c:4382: error: dereferencing pointer to incomplete type if_iwn.c:4382: error: dereferencing pointer to incomplete type if_iwn.c:4387: error: 'IWN_CMD_SET_SENSITIVITY' undeclared (first use in this function) if_iwn.c:4387: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:4363: warning: unused variable 'cmd' if_iwn.c: At top level: if_iwn.c:4395: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:4396: error: conflicting types for 'iwn_set_pslevel' if_iwn.c:193: error: previous declaration of 'iwn_set_pslevel' was here if_iwn.c: In function 'iwn_set_pslevel': if_iwn.c:4398: error: storage size of 'cmd' isn't known if_iwn.c:4405: error: 'iwn_pmgt' undeclared (first use in this function) if_iwn.c:4413: error: 'IWN_PS_ALLOW_SLEEP' undeclared (first use in this function) if_iwn.c:4415: error: 'IWN_PS_FAST_PD' undeclared (first use in this function) if_iwn.c:4417: error: dereferencing pointer to incomplete type if_iwn.c:4417: error: dereferencing pointer to incomplete type if_iwn.c:4419: error: 'IWN_PS_PCI_PMGT' undeclared (first use in this function) if_iwn.c:4420: error: dereferencing pointer to incomplete type if_iwn.c:4421: error: dereferencing pointer to incomplete type if_iwn.c:4427: error: dereferencing pointer to incomplete type if_iwn.c:4429: error: 'IWN_PS_SLEEP_OVER_DTIM' undeclared (first use in this function) if_iwn.c:4430: error: dereferencing pointer to incomplete type if_iwn.c:4438: error: dereferencing pointer to incomplete type if_iwn.c:4438: error: dereferencing pointer to incomplete type if_iwn.c:4440: error: dereferencing pointer to incomplete type if_iwn.c:4442: error: 'IWN_CMD_SET_POWER_MODE' undeclared (first use in this function) if_iwn.c:4442: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:4398: warning: unused variable 'cmd' if_iwn.c: At top level: if_iwn.c:4446: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:4447: error: conflicting types for 'iwn_config' if_iwn.c:194: error: previous declaration of 'iwn_config' was here if_iwn.c: In function 'iwn_config': if_iwn.c:4448: error: dereferencing pointer to incomplete type if_iwn.c:4449: error: dereferencing pointer to incomplete type if_iwn.c:4450: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:4451: error: storage size of 'bluetooth' isn't known if_iwn.c:4457: error: dereferencing pointer to incomplete type if_iwn.c:4457: error: 'IWN_HW_REV_TYPE_4965' undeclared (first use in this function) if_iwn.c:4458: error: dereferencing pointer to incomplete type if_iwn.c:4459: error: dereferencing pointer to incomplete type if_iwn.c:4461: error: 'IWN5000_CMD_TX_ANT_CONFIG' undeclared (first use in this function) if_iwn.c:4462: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:4464: error: dereferencing pointer to incomplete type if_iwn.c:4473: error: 'IWN_BT_COEX_MODE_4WIRE' undeclared (first use in this function) if_iwn.c:4474: error: 'IWN_BT_LEAD_TIME_DEF' undeclared (first use in this function) if_iwn.c:4475: error: 'IWN_BT_MAX_KILL_DEF' undeclared (first use in this function) if_iwn.c:4476: error: dereferencing pointer to incomplete type if_iwn.c:4478: error: 'IWN_CMD_BT_COEX' undeclared (first use in this function) if_iwn.c:4478: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:4480: error: dereferencing pointer to incomplete type if_iwn.c:4487: error: dereferencing pointer to incomplete type if_iwn.c:4487: error: invalid application of 'sizeof' to incomplete type 'struct iwn_rxon' if_iwn.c:4488: error: dereferencing pointer to incomplete type if_iwn.c:4489: error: dereferencing pointer to incomplete type if_iwn.c:4490: error: dereferencing pointer to incomplete type if_iwn.c:4490: error: dereferencing pointer to incomplete type if_iwn.c:4491: error: dereferencing pointer to incomplete type if_iwn.c:4491: error: 'IWN_RXON_TSF' undeclared (first use in this function) if_iwn.c:4491: error: 'IWN_RXON_CTS_TO_SELF' undeclared (first use in this function) if_iwn.c:4492: warning: implicit declaration of function 'IEEE80211_IS_CHAN_2GHZ' if_iwn.c:4492: warning: nested extern declaration of 'IEEE80211_IS_CHAN_2GHZ' if_iwn.c:4492: error: dereferencing pointer to incomplete type if_iwn.c:4493: error: dereferencing pointer to incomplete type if_iwn.c:4493: error: 'IWN_RXON_AUTO' undeclared (first use in this function) if_iwn.c:4493: error: 'IWN_RXON_24GHZ' undeclared (first use in this function) if_iwn.c:4494: error: dereferencing pointer to incomplete type if_iwn.c:4495: error: 'IEEE80211_M_STA' undeclared (first use in this function) if_iwn.c:4496: error: dereferencing pointer to incomplete type if_iwn.c:4496: error: 'IWN_MODE_STA' undeclared (first use in this function) if_iwn.c:4497: error: dereferencing pointer to incomplete type if_iwn.c:4497: error: 'IWN_FILTER_MULTICAST' undeclared (first use in this function) if_iwn.c:4499: error: 'IEEE80211_M_MONITOR' undeclared (first use in this function) if_iwn.c:4500: error: dereferencing pointer to incomplete type if_iwn.c:4500: error: 'IWN_MODE_MONITOR' undeclared (first use in this function) if_iwn.c:4501: error: dereferencing pointer to incomplete type if_iwn.c:4501: error: 'IWN_FILTER_CTL' undeclared (first use in this function) if_iwn.c:4501: error: 'IWN_FILTER_PROMISC' undeclared (first use in this function) if_iwn.c:4508: error: dereferencing pointer to incomplete type if_iwn.c:4509: error: dereferencing pointer to incomplete type if_iwn.c:4510: error: dereferencing pointer to incomplete type if_iwn.c:4511: error: dereferencing pointer to incomplete type if_iwn.c:4512: error: dereferencing pointer to incomplete type if_iwn.c:4514: warning: implicit declaration of function 'IWN_RXCHAIN_VALID' if_iwn.c:4514: warning: nested extern declaration of 'IWN_RXCHAIN_VALID' if_iwn.c:4514: error: dereferencing pointer to incomplete type if_iwn.c:4515: warning: implicit declaration of function 'IWN_RXCHAIN_MIMO_COUNT' if_iwn.c:4515: warning: nested extern declaration of 'IWN_RXCHAIN_MIMO_COUNT' if_iwn.c:4516: warning: implicit declaration of function 'IWN_RXCHAIN_IDLE_COUNT' if_iwn.c:4516: warning: nested extern declaration of 'IWN_RXCHAIN_IDLE_COUNT' if_iwn.c:4517: error: dereferencing pointer to incomplete type if_iwn.c:4518: error: dereferencing pointer to incomplete type if_iwn.c:4519: error: 'IWN_CMD_RXON' undeclared (first use in this function) if_iwn.c:4519: error: dereferencing pointer to incomplete type if_iwn.c:4519: error: dereferencing pointer to incomplete type if_iwn.c:4519: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:4521: error: dereferencing pointer to incomplete type if_iwn.c:4526: warning: passing argument 1 of 'iwn_add_broadcast_node' from incompatible pointer type if_iwn.c:4528: error: dereferencing pointer to incomplete type if_iwn.c:4534: error: dereferencing pointer to incomplete type if_iwn.c:4534: error: dereferencing pointer to incomplete type if_iwn.c:4536: error: dereferencing pointer to incomplete type if_iwn.c:4541: warning: passing argument 1 of 'iwn_set_critical_temp' from incompatible pointer type if_iwn.c:4543: error: dereferencing pointer to incomplete type if_iwn.c:4549: warning: passing argument 1 of 'iwn_set_pslevel' from incompatible pointer type if_iwn.c:4551: error: dereferencing pointer to incomplete type if_iwn.c:4451: warning: unused variable 'bluetooth' if_iwn.c: At top level: if_iwn.c:4559: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:4560: error: conflicting types for 'iwn_scan' if_iwn.c:195: error: previous declaration of 'iwn_scan' was here if_iwn.c: In function 'iwn_scan': if_iwn.c:4561: error: dereferencing pointer to incomplete type if_iwn.c:4562: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:4563: error: dereferencing pointer to incomplete type if_iwn.c:4575: error: 'IWN_SCAN_MAXSZ' undeclared (first use in this function) if_iwn.c:4575: warning: assignment makes pointer from integer without a cast if_iwn.c:4577: error: dereferencing pointer to incomplete type if_iwn.c:4588: error: dereferencing pointer to incomplete type if_iwn.c:4589: error: dereferencing pointer to incomplete type if_iwn.c:4593: error: dereferencing pointer to incomplete type if_iwn.c:4594: warning: implicit declaration of function 'IWN_RXCHAIN_FORCE_MIMO_SEL' if_iwn.c:4594: warning: nested extern declaration of 'IWN_RXCHAIN_FORCE_MIMO_SEL' if_iwn.c:4594: error: dereferencing pointer to incomplete type if_iwn.c:4595: error: 'IWN_RXCHAIN_DRIVER_FORCE' undeclared (first use in this function) if_iwn.c:4596: error: dereferencing pointer to incomplete type if_iwn.c:4597: error: dereferencing pointer to incomplete type if_iwn.c:4597: error: 'IWN_HW_REV_TYPE_4965' undeclared (first use in this function) if_iwn.c:4599: warning: implicit declaration of function 'IWN_RXCHAIN_FORCE_SEL' if_iwn.c:4599: warning: nested extern declaration of 'IWN_RXCHAIN_FORCE_SEL' if_iwn.c:4599: error: 'IWN_ANT_BC' undeclared (first use in this function) if_iwn.c:4601: error: dereferencing pointer to incomplete type if_iwn.c:4602: error: dereferencing pointer to incomplete type if_iwn.c:4603: error: dereferencing pointer to incomplete type if_iwn.c:4603: error: 'IWN_FILTER_MULTICAST' undeclared (first use in this function) if_iwn.c:4603: error: 'IWN_FILTER_BEACON' undeclared (first use in this function) if_iwn.c:4605: error: invalid use of undefined type 'struct iwn_scan_hdr' if_iwn.c:4606: error: dereferencing pointer to incomplete type if_iwn.c:4606: error: 'IWN_TX_AUTO_SEQ' undeclared (first use in this function) if_iwn.c:4607: error: dereferencing pointer to incomplete type if_iwn.c:4607: error: dereferencing pointer to incomplete type if_iwn.c:4608: error: dereferencing pointer to incomplete type if_iwn.c:4608: error: 'IWN_LIFETIME_INFINITE' undeclared (first use in this function) if_iwn.c:4610: error: dereferencing pointer to incomplete type if_iwn.c:4612: error: dereferencing pointer to incomplete type if_iwn.c:4612: error: 'iwn_rates' undeclared (first use in this function) if_iwn.c:4612: error: 'IWN_RIDX_OFDM6' undeclared (first use in this function) if_iwn.c:4613: error: dereferencing pointer to incomplete type if_iwn.c:4613: error: 'IEEE80211_MODE_11A' undeclared (first use in this function) if_iwn.c:4615: error: dereferencing pointer to incomplete type if_iwn.c:4615: error: 'IWN_RXON_24GHZ' undeclared (first use in this function) if_iwn.c:4615: error: 'IWN_RXON_AUTO' undeclared (first use in this function) if_iwn.c:4617: error: dereferencing pointer to incomplete type if_iwn.c:4617: error: 'IWN_RIDX_CCK1' undeclared (first use in this function) if_iwn.c:4618: error: dereferencing pointer to incomplete type if_iwn.c:4618: error: 'IWN_RFLAG_CCK' undeclared (first use in this function) if_iwn.c:4619: error: dereferencing pointer to incomplete type if_iwn.c:4619: error: 'IEEE80211_MODE_11G' undeclared (first use in this function) if_iwn.c:4622: error: dereferencing pointer to incomplete type if_iwn.c:4623: error: dereferencing pointer to incomplete type if_iwn.c:4625: error: invalid use of undefined type 'struct iwn_cmd_data' if_iwn.c:4626: error: dereferencing pointer to incomplete type if_iwn.c:4627: error: invalid use of undefined type 'struct iwn_scan_essid' if_iwn.c:4627: error: dereferencing pointer to incomplete type if_iwn.c:4627: error: 'IEEE80211_ELEMID_SSID' undeclared (first use in this function) if_iwn.c:4628: error: invalid use of undefined type 'struct iwn_scan_essid' if_iwn.c:4628: error: dereferencing pointer to incomplete type if_iwn.c:4628: error: dereferencing pointer to incomplete type if_iwn.c:4629: error: invalid use of undefined type 'struct iwn_scan_essid' if_iwn.c:4629: error: dereferencing pointer to incomplete type if_iwn.c:4629: error: dereferencing pointer to incomplete type if_iwn.c:4629: error: dereferencing pointer to incomplete type if_iwn.c:4636: error: invalid use of undefined type 'struct iwn_scan_essid' if_iwn.c:4637: error: dereferencing pointer to incomplete type if_iwn.c:4637: error: 'IEEE80211_FC0_VERSION_0' undeclared (first use in this function) if_iwn.c:4637: error: 'IEEE80211_FC0_TYPE_MGT' undeclared (first use in this function) if_iwn.c:4638: error: 'IEEE80211_FC0_SUBTYPE_PROBE_REQ' undeclared (first use in this function) if_iwn.c:4639: error: dereferencing pointer to incomplete type if_iwn.c:4639: error: 'IEEE80211_FC1_DIR_NODS' undeclared (first use in this function) if_iwn.c:4640: error: dereferencing pointer to incomplete type if_iwn.c:4641: error: dereferencing pointer to incomplete type if_iwn.c:4642: error: dereferencing pointer to incomplete type if_iwn.c:4643: error: dereferencing pointer to incomplete type if_iwn.c:4644: error: dereferencing pointer to incomplete type if_iwn.c:4646: error: invalid use of undefined type 'struct ieee80211_frame' if_iwn.c:4650: error: dereferencing pointer to incomplete type if_iwn.c:4651: error: dereferencing pointer to incomplete type if_iwn.c:4651: error: dereferencing pointer to incomplete type if_iwn.c:4652: error: dereferencing pointer to incomplete type if_iwn.c:4655: error: 'IEEE80211_ELEMID_RATES' undeclared (first use in this function) if_iwn.c:4656: error: dereferencing pointer to incomplete type if_iwn.c:4657: error: 'IEEE80211_RATE_SIZE' undeclared (first use in this function) if_iwn.c:4660: error: dereferencing pointer to incomplete type if_iwn.c:4664: error: dereferencing pointer to incomplete type if_iwn.c:4665: error: dereferencing pointer to incomplete type if_iwn.c:4666: error: 'IEEE80211_ELEMID_XRATES' undeclared (first use in this function) if_iwn.c:4668: error: dereferencing pointer to incomplete type if_iwn.c:4673: error: dereferencing pointer to incomplete type if_iwn.c:4675: error: dereferencing pointer to incomplete type if_iwn.c:4677: error: dereferencing pointer to incomplete type if_iwn.c:4678: error: dereferencing pointer to incomplete type if_iwn.c:4679: error: dereferencing pointer to incomplete type if_iwn.c:4680: error: dereferencing pointer to incomplete type if_iwn.c:4680: warning: implicit declaration of function 'IWN_CHAN_NPBREQS' if_iwn.c:4680: warning: nested extern declaration of 'IWN_CHAN_NPBREQS' if_iwn.c:4681: error: dereferencing pointer to incomplete type if_iwn.c:4683: error: dereferencing pointer to incomplete type if_iwn.c:4683: error: 'IEEE80211_CHAN_PASSIVE' undeclared (first use in this function) if_iwn.c:4684: error: dereferencing pointer to incomplete type if_iwn.c:4685: error: dereferencing pointer to incomplete type if_iwn.c:4686: error: dereferencing pointer to incomplete type if_iwn.c:4687: error: dereferencing pointer to incomplete type if_iwn.c:4687: error: 'IWN_CHAN_ACTIVE' undeclared (first use in this function) if_iwn.c:4689: error: dereferencing pointer to incomplete type if_iwn.c:4690: error: dereferencing pointer to incomplete type if_iwn.c:4691: error: dereferencing pointer to incomplete type if_iwn.c:4692: error: dereferencing pointer to incomplete type if_iwn.c:4694: error: dereferencing pointer to incomplete type if_iwn.c:4695: error: dereferencing pointer to incomplete type if_iwn.c:4696: error: dereferencing pointer to incomplete type if_iwn.c:4697: error: dereferencing pointer to incomplete type if_iwn.c:4698: error: dereferencing pointer to incomplete type if_iwn.c:4699: error: dereferencing pointer to incomplete type if_iwn.c:4700: error: dereferencing pointer to incomplete type if_iwn.c:4702: error: dereferencing pointer to incomplete type if_iwn.c:4703: error: dereferencing pointer to incomplete type if_iwn.c:4704: error: dereferencing pointer to incomplete type if_iwn.c:4705: error: dereferencing pointer to incomplete type if_iwn.c:4707: error: dereferencing pointer to incomplete type if_iwn.c:4708: error: dereferencing pointer to incomplete type if_iwn.c:4711: error: dereferencing pointer to incomplete type if_iwn.c:4711: error: dereferencing pointer to incomplete type if_iwn.c:4711: error: dereferencing pointer to incomplete type if_iwn.c:4711: error: dereferencing pointer to incomplete type if_iwn.c:4711: error: dereferencing pointer to incomplete type if_iwn.c:4711: error: dereferencing pointer to incomplete type if_iwn.c:4711: error: dereferencing pointer to incomplete type if_iwn.c:4717: error: dereferencing pointer to incomplete type if_iwn.c:4718: error: increment of pointer to unknown structure if_iwn.c:4718: error: arithmetic on pointer to an incomplete type if_iwn.c:4720: error: dereferencing pointer to incomplete type if_iwn.c:4722: error: dereferencing pointer to incomplete type if_iwn.c:4722: error: dereferencing pointer to incomplete type if_iwn.c:4724: error: 'IWN_CMD_SCAN' undeclared (first use in this function) if_iwn.c:4724: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:4730: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:4731: error: conflicting types for 'iwn_auth' if_iwn.c:196: error: previous declaration of 'iwn_auth' was here if_iwn.c: In function 'iwn_auth': if_iwn.c:4732: error: dereferencing pointer to incomplete type if_iwn.c:4733: error: dereferencing pointer to incomplete type if_iwn.c:4734: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:4735: error: dereferencing pointer to incomplete type if_iwn.c:4738: error: dereferencing pointer to incomplete type if_iwn.c:4738: error: 'IWN_CALIB_STATE_INIT' undeclared (first use in this function) if_iwn.c:4741: error: dereferencing pointer to incomplete type if_iwn.c:4741: error: dereferencing pointer to incomplete type if_iwn.c:4742: error: dereferencing pointer to incomplete type if_iwn.c:4742: error: dereferencing pointer to incomplete type if_iwn.c:4743: error: dereferencing pointer to incomplete type if_iwn.c:4743: error: 'IWN_RXON_TSF' undeclared (first use in this function) if_iwn.c:4743: error: 'IWN_RXON_CTS_TO_SELF' undeclared (first use in this function) if_iwn.c:4744: error: dereferencing pointer to incomplete type if_iwn.c:4745: error: dereferencing pointer to incomplete type if_iwn.c:4745: error: 'IWN_RXON_AUTO' undeclared (first use in this function) if_iwn.c:4745: error: 'IWN_RXON_24GHZ' undeclared (first use in this function) if_iwn.c:4746: error: dereferencing pointer to incomplete type if_iwn.c:4746: error: 'IEEE80211_F_SHSLOT' undeclared (first use in this function) if_iwn.c:4747: error: dereferencing pointer to incomplete type if_iwn.c:4747: error: 'IWN_RXON_SHSLOT' undeclared (first use in this function) if_iwn.c:4748: error: dereferencing pointer to incomplete type if_iwn.c:4748: error: 'IEEE80211_F_SHPREAMBLE' undeclared (first use in this function) if_iwn.c:4749: error: dereferencing pointer to incomplete type if_iwn.c:4749: error: 'IWN_RXON_SHPREAMBLE' undeclared (first use in this function) if_iwn.c:4750: error: dereferencing pointer to incomplete type if_iwn.c:4751: error: dereferencing pointer to incomplete type if_iwn.c:4752: error: dereferencing pointer to incomplete type if_iwn.c:4753: warning: implicit declaration of function 'IEEE80211_IS_CHAN_B' if_iwn.c:4753: warning: nested extern declaration of 'IEEE80211_IS_CHAN_B' if_iwn.c:4753: error: dereferencing pointer to incomplete type if_iwn.c:4754: error: dereferencing pointer to incomplete type if_iwn.c:4755: error: dereferencing pointer to incomplete type if_iwn.c:4758: error: dereferencing pointer to incomplete type if_iwn.c:4759: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4761: error: dereferencing pointer to incomplete type if_iwn.c:4772: error: 'IWN_CMD_RXON' undeclared (first use in this function) if_iwn.c:4772: error: dereferencing pointer to incomplete type if_iwn.c:4772: error: dereferencing pointer to incomplete type if_iwn.c:4772: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:4774: error: dereferencing pointer to incomplete type if_iwn.c:4780: error: dereferencing pointer to incomplete type if_iwn.c:4780: error: dereferencing pointer to incomplete type if_iwn.c:4782: error: dereferencing pointer to incomplete type if_iwn.c:4790: warning: passing argument 1 of 'iwn_add_broadcast_node' from incompatible pointer type if_iwn.c:4792: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:4804: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:4805: error: conflicting types for 'iwn_run' if_iwn.c:197: error: previous declaration of 'iwn_run' was here if_iwn.c: In function 'iwn_run': if_iwn.c:4807: error: dereferencing pointer to incomplete type if_iwn.c:4808: error: dereferencing pointer to incomplete type if_iwn.c:4809: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:4810: error: dereferencing pointer to incomplete type if_iwn.c:4811: error: storage size of 'node' isn't known if_iwn.c:4814: error: dereferencing pointer to incomplete type if_iwn.c:4814: error: 'IWN_CALIB_STATE_INIT' undeclared (first use in this function) if_iwn.c:4816: error: dereferencing pointer to incomplete type if_iwn.c:4816: error: 'IEEE80211_M_MONITOR' undeclared (first use in this function) if_iwn.c:4818: error: 'IWN_LED_LINK' undeclared (first use in this function) if_iwn.c:4818: warning: passing argument 1 of 'iwn_set_led' from incompatible pointer type if_iwn.c:4821: warning: passing argument 1 of 'iwn_set_timing' from incompatible pointer type if_iwn.c:4823: error: dereferencing pointer to incomplete type if_iwn.c:4829: error: dereferencing pointer to incomplete type if_iwn.c:4829: error: dereferencing pointer to incomplete type if_iwn.c:4830: error: dereferencing pointer to incomplete type if_iwn.c:4830: error: dereferencing pointer to incomplete type if_iwn.c:4831: error: dereferencing pointer to incomplete type if_iwn.c:4831: warning: implicit declaration of function 'IEEE80211_AID' if_iwn.c:4831: warning: nested extern declaration of 'IEEE80211_AID' if_iwn.c:4831: error: dereferencing pointer to incomplete type if_iwn.c:4833: error: dereferencing pointer to incomplete type if_iwn.c:4833: error: 'IWN_RXON_SHPREAMBLE' undeclared (first use in this function) if_iwn.c:4833: error: 'IWN_RXON_SHSLOT' undeclared (first use in this function) if_iwn.c:4834: error: dereferencing pointer to incomplete type if_iwn.c:4834: error: 'IWN_RXON_TSF' undeclared (first use in this function) if_iwn.c:4834: error: 'IWN_RXON_CTS_TO_SELF' undeclared (first use in this function) if_iwn.c:4835: error: dereferencing pointer to incomplete type if_iwn.c:4836: error: dereferencing pointer to incomplete type if_iwn.c:4836: error: 'IWN_RXON_AUTO' undeclared (first use in this function) if_iwn.c:4836: error: 'IWN_RXON_24GHZ' undeclared (first use in this function) if_iwn.c:4838: error: dereferencing pointer to incomplete type if_iwn.c:4839: error: dereferencing pointer to incomplete type if_iwn.c:4839: error: 'IEEE80211_F_SHSLOT' undeclared (first use in this function) if_iwn.c:4840: error: dereferencing pointer to incomplete type if_iwn.c:4841: error: dereferencing pointer to incomplete type if_iwn.c:4841: error: 'IEEE80211_F_SHPREAMBLE' undeclared (first use in this function) if_iwn.c:4842: error: dereferencing pointer to incomplete type if_iwn.c:4843: error: dereferencing pointer to incomplete type if_iwn.c:4844: error: dereferencing pointer to incomplete type if_iwn.c:4845: error: dereferencing pointer to incomplete type if_iwn.c:4846: error: dereferencing pointer to incomplete type if_iwn.c:4847: error: dereferencing pointer to incomplete type if_iwn.c:4848: error: dereferencing pointer to incomplete type if_iwn.c:4851: error: dereferencing pointer to incomplete type if_iwn.c:4852: error: dereferencing pointer to incomplete type if_iwn.c:4874: error: dereferencing pointer to incomplete type if_iwn.c:4874: error: 'IWN_FILTER_BSS' undeclared (first use in this function) if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4876: error: dereferencing pointer to incomplete type if_iwn.c:4887: error: 'IWN_CMD_RXON' undeclared (first use in this function) if_iwn.c:4887: error: dereferencing pointer to incomplete type if_iwn.c:4887: error: dereferencing pointer to incomplete type if_iwn.c:4887: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:4889: error: dereferencing pointer to incomplete type if_iwn.c:4897: error: dereferencing pointer to incomplete type if_iwn.c:4897: error: dereferencing pointer to incomplete type if_iwn.c:4899: error: dereferencing pointer to incomplete type if_iwn.c:4906: error: dereferencing pointer to incomplete type if_iwn.c:4907: error: 'IWN_ID_BSS' undeclared (first use in this function) if_iwn.c:4912: error: dereferencing pointer to incomplete type if_iwn.c:4914: error: dereferencing pointer to incomplete type if_iwn.c:4916: error: dereferencing pointer to incomplete type if_iwn.c:4919: error: dereferencing pointer to incomplete type if_iwn.c:4921: warning: passing argument 1 of 'iwn_set_link_quality' from incompatible pointer type if_iwn.c:4923: error: dereferencing pointer to incomplete type if_iwn.c:4929: warning: passing argument 1 of 'iwn_init_sensitivity' from incompatible pointer type if_iwn.c:4931: error: dereferencing pointer to incomplete type if_iwn.c:4938: error: dereferencing pointer to incomplete type if_iwn.c:4938: error: 'IWN_CALIB_STATE_ASSOC' undeclared (first use in this function) if_iwn.c:4939: warning: passing argument 1 of 'iwn_calib_reset' from incompatible pointer type if_iwn.c:4942: warning: passing argument 1 of 'iwn_set_led' from incompatible pointer type if_iwn.c:4811: warning: unused variable 'node' if_iwn.c: At top level: if_iwn.c:5168: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5169: error: conflicting types for 'iwn5000_query_calibration' if_iwn.c:198: error: previous declaration of 'iwn5000_query_calibration' was here if_iwn.c: In function 'iwn5000_query_calibration': if_iwn.c:5170: error: storage size of 'cmd' isn't known if_iwn.c:5178: error: dereferencing pointer to incomplete type if_iwn.c:5180: error: 'IWN5000_CMD_CALIB_CONFIG' undeclared (first use in this function) if_iwn.c:5180: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:5185: error: dereferencing pointer to incomplete type if_iwn.c:5185: error: 'IWN_FLAG_CALIB_DONE' undeclared (first use in this function) if_iwn.c:5186: error: dereferencing pointer to incomplete type if_iwn.c:5170: warning: unused variable 'cmd' if_iwn.c: At top level: if_iwn.c:5195: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5196: error: conflicting types for 'iwn5000_send_calibration' if_iwn.c:199: error: previous declaration of 'iwn5000_send_calibration' was here if_iwn.c: In function 'iwn5000_send_calibration': if_iwn.c:5200: error: dereferencing pointer to incomplete type if_iwn.c:5202: error: dereferencing pointer to incomplete type if_iwn.c:5202: error: dereferencing pointer to incomplete type if_iwn.c:5205: error: 'IWN_CMD_PHY_CALIB' undeclared (first use in this function) if_iwn.c:5205: error: dereferencing pointer to incomplete type if_iwn.c:5206: error: dereferencing pointer to incomplete type if_iwn.c:5206: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:5208: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:5218: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5219: error: conflicting types for 'iwn5000_send_wimax_coex' if_iwn.c:200: error: previous declaration of 'iwn5000_send_wimax_coex' was here if_iwn.c: In function 'iwn5000_send_wimax_coex': if_iwn.c:5220: error: storage size of 'wimax' isn't known if_iwn.c:5239: error: dereferencing pointer to incomplete type if_iwn.c:5241: error: 'IWN5000_CMD_WIMAX_COEX' undeclared (first use in this function) if_iwn.c:5241: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:5220: warning: unused variable 'wimax' if_iwn.c: At top level: if_iwn.c:5249: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5250: error: conflicting types for 'iwn4965_post_alive' if_iwn.c:201: error: previous declaration of 'iwn4965_post_alive' was here if_iwn.c: In function 'iwn4965_post_alive': if_iwn.c:5253: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:5257: error: dereferencing pointer to incomplete type if_iwn.c:5257: error: 'IWN_SCHED_SRAM_ADDR' undeclared (first use in this function) if_iwn.c:5257: warning: passing argument 1 of 'iwn_prph_read' from incompatible pointer type if_iwn.c:5258: error: dereferencing pointer to incomplete type if_iwn.c:5258: error: 'IWN4965_SCHED_CTX_OFF' undeclared (first use in this function) if_iwn.c:5259: error: 'IWN4965_SCHED_CTX_LEN' undeclared (first use in this function) if_iwn.c:5259: warning: passing argument 1 of 'iwn_mem_set_region_4' from incompatible pointer type if_iwn.c:5262: error: 'IWN4965_SCHED_DRAM_ADDR' undeclared (first use in this function) if_iwn.c:5262: error: dereferencing pointer to incomplete type if_iwn.c:5262: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5264: error: 'IWN_FH_TX_CHICKEN' undeclared (first use in this function) if_iwn.c:5264: error: 'IWN_FH_TX_CHICKEN_SCHED_RETRY' undeclared (first use in this function) if_iwn.c:5267: error: 'IWN4965_SCHED_QCHAIN_SEL' undeclared (first use in this function) if_iwn.c:5267: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5270: warning: implicit declaration of function 'IWN4965_SCHED_QUEUE_RDPTR' if_iwn.c:5270: warning: nested extern declaration of 'IWN4965_SCHED_QUEUE_RDPTR' if_iwn.c:5270: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5271: error: 'IWN_HBUS_TARG_WRPTR' undeclared (first use in this function) if_iwn.c:5274: error: dereferencing pointer to incomplete type if_iwn.c:5275: warning: implicit declaration of function 'IWN4965_SCHED_QUEUE_OFFSET' if_iwn.c:5275: warning: nested extern declaration of 'IWN4965_SCHED_QUEUE_OFFSET' if_iwn.c:5275: error: 'IWN_SCHED_WINSZ' undeclared (first use in this function) if_iwn.c:5275: warning: passing argument 1 of 'iwn_mem_write' from incompatible pointer type if_iwn.c:5277: error: dereferencing pointer to incomplete type if_iwn.c:5279: error: 'IWN_SCHED_LIMIT' undeclared (first use in this function) if_iwn.c:5279: warning: passing argument 1 of 'iwn_mem_write' from incompatible pointer type if_iwn.c:5283: error: 'IWN4965_SCHED_INTR_MASK' undeclared (first use in this function) if_iwn.c:5283: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5285: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5290: warning: implicit declaration of function 'IWN4965_SCHED_QUEUE_STATUS' if_iwn.c:5290: warning: nested extern declaration of 'IWN4965_SCHED_QUEUE_STATUS' if_iwn.c:5291: error: 'IWN4965_TXQ_STATUS_ACTIVE' undeclared (first use in this function) if_iwn.c:5291: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5293: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:5302: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5303: error: conflicting types for 'iwn5000_post_alive' if_iwn.c:202: error: previous declaration of 'iwn5000_post_alive' was here if_iwn.c: In function 'iwn5000_post_alive': if_iwn.c:5307: warning: passing argument 1 of 'iwn5000_ict_reset' from incompatible pointer type if_iwn.c:5309: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:5314: error: dereferencing pointer to incomplete type if_iwn.c:5314: error: 'IWN_SCHED_SRAM_ADDR' undeclared (first use in this function) if_iwn.c:5314: warning: passing argument 1 of 'iwn_prph_read' from incompatible pointer type if_iwn.c:5315: error: dereferencing pointer to incomplete type if_iwn.c:5315: error: 'IWN5000_SCHED_CTX_OFF' undeclared (first use in this function) if_iwn.c:5316: error: 'IWN5000_SCHED_CTX_LEN' undeclared (first use in this function) if_iwn.c:5316: warning: passing argument 1 of 'iwn_mem_set_region_4' from incompatible pointer type if_iwn.c:5319: error: 'IWN5000_SCHED_DRAM_ADDR' undeclared (first use in this function) if_iwn.c:5319: error: dereferencing pointer to incomplete type if_iwn.c:5319: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5321: error: 'IWN_FH_TX_CHICKEN' undeclared (first use in this function) if_iwn.c:5321: error: 'IWN_FH_TX_CHICKEN_SCHED_RETRY' undeclared (first use in this function) if_iwn.c:5324: error: 'IWN5000_SCHED_QCHAIN_SEL' undeclared (first use in this function) if_iwn.c:5324: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5325: error: 'IWN5000_SCHED_AGGR_SEL' undeclared (first use in this function) if_iwn.c:5325: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5328: warning: implicit declaration of function 'IWN5000_SCHED_QUEUE_RDPTR' if_iwn.c:5328: warning: nested extern declaration of 'IWN5000_SCHED_QUEUE_RDPTR' if_iwn.c:5328: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5329: error: 'IWN_HBUS_TARG_WRPTR' undeclared (first use in this function) if_iwn.c:5331: error: dereferencing pointer to incomplete type if_iwn.c:5332: warning: implicit declaration of function 'IWN5000_SCHED_QUEUE_OFFSET' if_iwn.c:5332: warning: nested extern declaration of 'IWN5000_SCHED_QUEUE_OFFSET' if_iwn.c:5332: warning: passing argument 1 of 'iwn_mem_write' from incompatible pointer type if_iwn.c:5334: error: dereferencing pointer to incomplete type if_iwn.c:5336: error: 'IWN_SCHED_LIMIT' undeclared (first use in this function) if_iwn.c:5336: error: 'IWN_SCHED_WINSZ' undeclared (first use in this function) if_iwn.c:5336: warning: passing argument 1 of 'iwn_mem_write' from incompatible pointer type if_iwn.c:5340: error: 'IWN5000_SCHED_INTR_MASK' undeclared (first use in this function) if_iwn.c:5340: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5342: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5347: warning: implicit declaration of function 'IWN5000_SCHED_QUEUE_STATUS' if_iwn.c:5347: warning: nested extern declaration of 'IWN5000_SCHED_QUEUE_STATUS' if_iwn.c:5348: error: 'IWN5000_TXQ_STATUS_ACTIVE' undeclared (first use in this function) if_iwn.c:5348: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5350: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:5353: warning: passing argument 1 of 'iwn5000_send_wimax_coex' from incompatible pointer type if_iwn.c:5355: error: dereferencing pointer to incomplete type if_iwn.c:5360: error: dereferencing pointer to incomplete type if_iwn.c:5360: error: 'IWN_HW_REV_TYPE_5150' undeclared (first use in this function) if_iwn.c:5361: error: storage size of 'cmd' isn't known if_iwn.c:5365: error: 'IWN5000_PHY_CALIB_CRYSTAL' undeclared (first use in this function) if_iwn.c:5368: error: dereferencing pointer to incomplete type if_iwn.c:5369: error: dereferencing pointer to incomplete type if_iwn.c:5370: error: dereferencing pointer to incomplete type if_iwn.c:5373: error: 'IWN_CMD_PHY_CALIB' undeclared (first use in this function) if_iwn.c:5373: warning: passing argument 1 of 'iwn_cmd' from incompatible pointer type if_iwn.c:5375: error: dereferencing pointer to incomplete type if_iwn.c:5361: warning: unused variable 'cmd' if_iwn.c:5381: error: dereferencing pointer to incomplete type if_iwn.c:5381: error: 'IWN_FLAG_CALIB_DONE' undeclared (first use in this function) if_iwn.c:5383: warning: passing argument 1 of 'iwn5000_query_calibration' from incompatible pointer type if_iwn.c:5385: error: dereferencing pointer to incomplete type if_iwn.c:5394: warning: passing argument 1 of 'iwn_hw_stop' from incompatible pointer type if_iwn.c:5395: warning: passing argument 1 of 'iwn_hw_init' from incompatible pointer type if_iwn.c:5398: warning: passing argument 1 of 'iwn5000_send_calibration' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:5408: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5409: error: conflicting types for 'iwn4965_load_bootcode' if_iwn.c:204: error: previous declaration of 'iwn4965_load_bootcode' was here if_iwn.c: In function 'iwn4965_load_bootcode': if_iwn.c:5414: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:5419: error: 'IWN_BSM_SRAM_BASE' undeclared (first use in this function) if_iwn.c:5420: warning: passing argument 1 of 'iwn_prph_write_region_4' from incompatible pointer type if_iwn.c:5422: error: 'IWN_BSM_WR_MEM_SRC' undeclared (first use in this function) if_iwn.c:5422: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5423: error: 'IWN_BSM_WR_MEM_DST' undeclared (first use in this function) if_iwn.c:5423: error: 'IWN_FW_TEXT_BASE' undeclared (first use in this function) if_iwn.c:5423: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5424: error: 'IWN_BSM_WR_DWCOUNT' undeclared (first use in this function) if_iwn.c:5424: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5427: error: 'IWN_BSM_WR_CTRL' undeclared (first use in this function) if_iwn.c:5427: error: 'IWN_BSM_WR_CTRL_START' undeclared (first use in this function) if_iwn.c:5427: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5431: warning: passing argument 1 of 'iwn_prph_read' from incompatible pointer type if_iwn.c:5437: error: dereferencing pointer to incomplete type if_iwn.c:5439: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:5444: error: 'IWN_BSM_WR_CTRL_START_EN' undeclared (first use in this function) if_iwn.c:5444: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5446: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:5451: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5452: error: conflicting types for 'iwn4965_load_firmware' if_iwn.c:205: error: previous declaration of 'iwn4965_load_firmware' was here if_iwn.c: In function 'iwn4965_load_firmware': if_iwn.c:5453: error: dereferencing pointer to incomplete type if_iwn.c:5454: error: dereferencing pointer to incomplete type if_iwn.c:5458: error: dereferencing pointer to incomplete type if_iwn.c:5458: error: dereferencing pointer to incomplete type if_iwn.c:5458: error: dereferencing pointer to incomplete type if_iwn.c:5459: error: dereferencing pointer to incomplete type if_iwn.c:5459: error: dereferencing pointer to incomplete type if_iwn.c:5459: error: dereferencing pointer to incomplete type if_iwn.c:5460: error: dereferencing pointer to incomplete type if_iwn.c:5461: error: dereferencing pointer to incomplete type if_iwn.c:5461: error: dereferencing pointer to incomplete type if_iwn.c:5462: error: dereferencing pointer to incomplete type if_iwn.c:5462: error: dereferencing pointer to incomplete type if_iwn.c:5462: error: dereferencing pointer to incomplete type if_iwn.c:5465: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:5468: error: 'IWN_BSM_DRAM_DATA_ADDR' undeclared (first use in this function) if_iwn.c:5468: error: dereferencing pointer to incomplete type if_iwn.c:5468: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5469: error: 'IWN_BSM_DRAM_DATA_SIZE' undeclared (first use in this function) if_iwn.c:5469: error: dereferencing pointer to incomplete type if_iwn.c:5469: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5470: error: 'IWN_BSM_DRAM_TEXT_ADDR' undeclared (first use in this function) if_iwn.c:5471: error: dereferencing pointer to incomplete type if_iwn.c:5471: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5472: error: 'IWN_BSM_DRAM_TEXT_SIZE' undeclared (first use in this function) if_iwn.c:5472: error: dereferencing pointer to incomplete type if_iwn.c:5472: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5473: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:5476: error: dereferencing pointer to incomplete type if_iwn.c:5476: error: dereferencing pointer to incomplete type if_iwn.c:5476: warning: passing argument 1 of 'iwn4965_load_bootcode' from incompatible pointer type if_iwn.c:5478: error: dereferencing pointer to incomplete type if_iwn.c:5483: error: 'IWN_RESET' undeclared (first use in this function) if_iwn.c:5486: error: dereferencing pointer to incomplete type if_iwn.c:5488: error: dereferencing pointer to incomplete type if_iwn.c:5495: error: dereferencing pointer to incomplete type if_iwn.c:5495: error: dereferencing pointer to incomplete type if_iwn.c:5496: error: dereferencing pointer to incomplete type if_iwn.c:5496: warning: passing argument 1 of 'iwn4965_get_temperature' from incompatible pointer type if_iwn.c:5499: error: dereferencing pointer to incomplete type if_iwn.c:5499: error: dereferencing pointer to incomplete type if_iwn.c:5499: error: dereferencing pointer to incomplete type if_iwn.c:5500: error: dereferencing pointer to incomplete type if_iwn.c:5500: error: dereferencing pointer to incomplete type if_iwn.c:5500: error: dereferencing pointer to incomplete type if_iwn.c:5501: error: dereferencing pointer to incomplete type if_iwn.c:5502: error: dereferencing pointer to incomplete type if_iwn.c:5502: error: dereferencing pointer to incomplete type if_iwn.c:5503: error: dereferencing pointer to incomplete type if_iwn.c:5503: error: dereferencing pointer to incomplete type if_iwn.c:5503: error: dereferencing pointer to incomplete type if_iwn.c:5506: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:5510: error: dereferencing pointer to incomplete type if_iwn.c:5510: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5511: error: dereferencing pointer to incomplete type if_iwn.c:5511: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5513: error: dereferencing pointer to incomplete type if_iwn.c:5513: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5515: error: 'IWN_FW_UPDATED' undeclared (first use in this function) if_iwn.c:5515: error: dereferencing pointer to incomplete type if_iwn.c:5515: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5516: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:5523: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5524: error: conflicting types for 'iwn5000_load_firmware_section' if_iwn.c:207: error: previous declaration of 'iwn5000_load_firmware_section' was here if_iwn.c: In function 'iwn5000_load_firmware_section': if_iwn.c:5525: error: dereferencing pointer to incomplete type if_iwn.c:5529: error: dereferencing pointer to incomplete type if_iwn.c:5530: error: dereferencing pointer to incomplete type if_iwn.c:5530: error: dereferencing pointer to incomplete type if_iwn.c:5530: error: dereferencing pointer to incomplete type if_iwn.c:5532: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:5536: warning: implicit declaration of function 'IWN_FH_TX_CONFIG' if_iwn.c:5536: warning: nested extern declaration of 'IWN_FH_TX_CONFIG' if_iwn.c:5536: error: 'IWN_SRVC_DMACHNL' undeclared (first use in this function) if_iwn.c:5537: error: 'IWN_FH_TX_CONFIG_DMA_PAUSE' undeclared (first use in this function) if_iwn.c:5539: warning: implicit declaration of function 'IWN_FH_SRAM_ADDR' if_iwn.c:5539: warning: nested extern declaration of 'IWN_FH_SRAM_ADDR' if_iwn.c:5540: warning: implicit declaration of function 'IWN_FH_TFBD_CTRL0' if_iwn.c:5540: warning: nested extern declaration of 'IWN_FH_TFBD_CTRL0' if_iwn.c:5541: error: dereferencing pointer to incomplete type if_iwn.c:5542: warning: implicit declaration of function 'IWN_FH_TFBD_CTRL1' if_iwn.c:5542: warning: nested extern declaration of 'IWN_FH_TFBD_CTRL1' if_iwn.c:5543: error: dereferencing pointer to incomplete type if_iwn.c:5544: warning: implicit declaration of function 'IWN_FH_TXBUF_STATUS' if_iwn.c:5544: warning: nested extern declaration of 'IWN_FH_TXBUF_STATUS' if_iwn.c:5545: warning: implicit declaration of function 'IWN_FH_TXBUF_STATUS_TBNUM' if_iwn.c:5545: warning: nested extern declaration of 'IWN_FH_TXBUF_STATUS_TBNUM' if_iwn.c:5546: warning: implicit declaration of function 'IWN_FH_TXBUF_STATUS_TBIDX' if_iwn.c:5546: warning: nested extern declaration of 'IWN_FH_TXBUF_STATUS_TBIDX' if_iwn.c:5547: error: 'IWN_FH_TXBUF_STATUS_TFBD_VALID' undeclared (first use in this function) if_iwn.c:5551: error: 'IWN_FH_TX_CONFIG_DMA_ENA' undeclared (first use in this function) if_iwn.c:5551: error: 'IWN_FH_TX_CONFIG_CIRQ_HOST_ENDTFD' undeclared (first use in this function) if_iwn.c:5553: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:5556: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:5560: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5561: error: conflicting types for 'iwn5000_load_firmware' if_iwn.c:208: error: previous declaration of 'iwn5000_load_firmware' was here if_iwn.c: In function 'iwn5000_load_firmware': if_iwn.c:5566: error: dereferencing pointer to incomplete type if_iwn.c:5566: error: 'IWN_FLAG_CALIB_DONE' undeclared (first use in this function) if_iwn.c:5567: error: dereferencing pointer to incomplete type if_iwn.c:5567: error: dereferencing pointer to incomplete type if_iwn.c:5569: error: 'IWN_FW_TEXT_BASE' undeclared (first use in this function) if_iwn.c:5570: error: dereferencing pointer to incomplete type if_iwn.c:5570: error: dereferencing pointer to incomplete type if_iwn.c:5570: warning: passing argument 1 of 'iwn5000_load_firmware_section' from incompatible pointer type if_iwn.c:5572: error: dereferencing pointer to incomplete type if_iwn.c:5577: error: 'IWN_FW_DATA_BASE' undeclared (first use in this function) if_iwn.c:5578: error: dereferencing pointer to incomplete type if_iwn.c:5578: error: dereferencing pointer to incomplete type if_iwn.c:5578: warning: passing argument 1 of 'iwn5000_load_firmware_section' from incompatible pointer type if_iwn.c:5580: error: dereferencing pointer to incomplete type if_iwn.c:5587: error: 'IWN_RESET' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:5592: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5593: error: conflicting types for 'iwn_read_firmware' if_iwn.c:209: error: previous declaration of 'iwn_read_firmware' was here if_iwn.c: In function 'iwn_read_firmware': if_iwn.c:5594: error: dereferencing pointer to incomplete type if_iwn.c:5595: error: dereferencing pointer to incomplete type if_iwn.c:5603: error: dereferencing pointer to incomplete type if_iwn.c:5603: warning: implicit declaration of function 'firmware_get' if_iwn.c:5603: warning: nested extern declaration of 'firmware_get' if_iwn.c:5603: error: dereferencing pointer to incomplete type if_iwn.c:5604: error: dereferencing pointer to incomplete type if_iwn.c:5605: error: dereferencing pointer to incomplete type if_iwn.c:5607: error: dereferencing pointer to incomplete type if_iwn.c:5613: error: dereferencing pointer to incomplete type if_iwn.c:5615: error: dereferencing pointer to incomplete type if_iwn.c:5622: error: dereferencing pointer to incomplete type if_iwn.c:5625: warning: implicit declaration of function 'IWN_FW_API' if_iwn.c:5625: warning: nested extern declaration of 'IWN_FW_API' if_iwn.c:5626: error: dereferencing pointer to incomplete type if_iwn.c:5635: error: dereferencing pointer to incomplete type if_iwn.c:5636: error: dereferencing pointer to incomplete type if_iwn.c:5637: error: dereferencing pointer to incomplete type if_iwn.c:5638: error: dereferencing pointer to incomplete type if_iwn.c:5639: error: dereferencing pointer to incomplete type if_iwn.c:5643: error: dereferencing pointer to incomplete type if_iwn.c:5643: error: dereferencing pointer to incomplete type if_iwn.c:5644: error: dereferencing pointer to incomplete type if_iwn.c:5644: error: dereferencing pointer to incomplete type if_iwn.c:5645: error: dereferencing pointer to incomplete type if_iwn.c:5645: error: dereferencing pointer to incomplete type if_iwn.c:5646: error: dereferencing pointer to incomplete type if_iwn.c:5646: error: dereferencing pointer to incomplete type if_iwn.c:5647: error: dereferencing pointer to incomplete type if_iwn.c:5647: error: 'IWN_FW_BOOT_TEXT_MAXSZ' undeclared (first use in this function) if_iwn.c:5648: error: dereferencing pointer to incomplete type if_iwn.c:5649: error: dereferencing pointer to incomplete type if_iwn.c:5655: error: dereferencing pointer to incomplete type if_iwn.c:5655: error: dereferencing pointer to incomplete type if_iwn.c:5655: error: dereferencing pointer to incomplete type if_iwn.c:5656: error: dereferencing pointer to incomplete type if_iwn.c:5656: error: dereferencing pointer to incomplete type if_iwn.c:5657: error: dereferencing pointer to incomplete type if_iwn.c:5664: error: dereferencing pointer to incomplete type if_iwn.c:5665: error: dereferencing pointer to incomplete type if_iwn.c:5665: error: dereferencing pointer to incomplete type if_iwn.c:5665: error: dereferencing pointer to incomplete type if_iwn.c:5666: error: dereferencing pointer to incomplete type if_iwn.c:5666: error: dereferencing pointer to incomplete type if_iwn.c:5666: error: dereferencing pointer to incomplete type if_iwn.c:5667: error: dereferencing pointer to incomplete type if_iwn.c:5667: error: dereferencing pointer to incomplete type if_iwn.c:5667: error: dereferencing pointer to incomplete type if_iwn.c:5668: error: dereferencing pointer to incomplete type if_iwn.c:5668: error: dereferencing pointer to incomplete type if_iwn.c:5668: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:5674: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5675: error: conflicting types for 'iwn_clock_wait' if_iwn.c:210: error: previous declaration of 'iwn_clock_wait' was here if_iwn.c: In function 'iwn_clock_wait': if_iwn.c:5679: error: 'IWN_GP_CNTRL' undeclared (first use in this function) if_iwn.c:5679: error: 'IWN_GP_CNTRL_INIT_DONE' undeclared (first use in this function) if_iwn.c:5683: error: 'IWN_GP_CNTRL_MAC_CLOCK_READY' undeclared (first use in this function) if_iwn.c:5687: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:5693: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5694: error: conflicting types for 'iwn_apm_init' if_iwn.c:211: error: previous declaration of 'iwn_apm_init' was here if_iwn.c: In function 'iwn_apm_init': if_iwn.c:5699: error: 'IWN_GIO_CHICKEN' undeclared (first use in this function) if_iwn.c:5699: error: 'IWN_GIO_CHICKEN_DIS_L0S_TIMER' undeclared (first use in this function) if_iwn.c:5701: error: 'IWN_GIO_CHICKEN_L1A_NO_L0S_RX' undeclared (first use in this function) if_iwn.c:5704: error: 'IWN_DBG_HPET_MEM' undeclared (first use in this function) if_iwn.c:5707: error: 'IWN_HW_IF_CONFIG' undeclared (first use in this function) if_iwn.c:5707: error: 'IWN_HW_IF_CONFIG_HAP_WAKE_L1A' undeclared (first use in this function) if_iwn.c:5710: error: dereferencing pointer to incomplete type if_iwn.c:5710: error: dereferencing pointer to incomplete type if_iwn.c:5713: error: 'IWN_GIO' undeclared (first use in this function) if_iwn.c:5713: error: 'IWN_GIO_L0S_ENA' undeclared (first use in this function) if_iwn.c:5717: error: dereferencing pointer to incomplete type if_iwn.c:5717: error: 'IWN_HW_REV_TYPE_4965' undeclared (first use in this function) if_iwn.c:5718: error: dereferencing pointer to incomplete type if_iwn.c:5718: error: 'IWN_HW_REV_TYPE_6000' undeclared (first use in this function) if_iwn.c:5719: error: dereferencing pointer to incomplete type if_iwn.c:5719: error: 'IWN_HW_REV_TYPE_6050' undeclared (first use in this function) if_iwn.c:5720: error: 'IWN_ANA_PLL' undeclared (first use in this function) if_iwn.c:5720: error: 'IWN_ANA_PLL_INIT' undeclared (first use in this function) if_iwn.c:5723: warning: passing argument 1 of 'iwn_clock_wait' from incompatible pointer type if_iwn.c:5727: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:5731: error: dereferencing pointer to incomplete type if_iwn.c:5733: error: 'IWN_APMG_CLK_EN' undeclared (first use in this function) if_iwn.c:5734: error: 'IWN_APMG_CLK_CTRL_DMA_CLK_RQT' undeclared (first use in this function) if_iwn.c:5735: error: 'IWN_APMG_CLK_CTRL_BSM_CLK_RQT' undeclared (first use in this function) if_iwn.c:5735: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5739: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5744: error: 'IWN_APMG_PCI_STT' undeclared (first use in this function) if_iwn.c:5744: error: 'IWN_APMG_PCI_STT_L1A_DIS' undeclared (first use in this function) if_iwn.c:5744: warning: passing argument 1 of 'iwn_prph_setbits' from incompatible pointer type if_iwn.c:5745: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:5751: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5752: error: conflicting types for 'iwn_apm_stop_master' if_iwn.c:212: error: previous declaration of 'iwn_apm_stop_master' was here if_iwn.c: In function 'iwn_apm_stop_master': if_iwn.c:5756: error: 'IWN_RESET' undeclared (first use in this function) if_iwn.c:5756: error: 'IWN_RESET_STOP_MASTER' undeclared (first use in this function) if_iwn.c:5758: error: 'IWN_RESET_MASTER_DISABLED' undeclared (first use in this function) if_iwn.c:5762: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:5767: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5768: error: conflicting types for 'iwn_apm_stop' if_iwn.c:213: error: previous declaration of 'iwn_apm_stop' was here if_iwn.c: In function 'iwn_apm_stop': if_iwn.c:5769: warning: passing argument 1 of 'iwn_apm_stop_master' from incompatible pointer type if_iwn.c:5772: error: 'IWN_RESET' undeclared (first use in this function) if_iwn.c:5772: error: 'IWN_RESET_SW' undeclared (first use in this function) if_iwn.c:5775: error: 'IWN_GP_CNTRL' undeclared (first use in this function) if_iwn.c:5775: error: 'IWN_GP_CNTRL_INIT_DONE' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:5779: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5780: error: conflicting types for 'iwn4965_nic_config' if_iwn.c:214: error: previous declaration of 'iwn4965_nic_config' was here if_iwn.c: In function 'iwn4965_nic_config': if_iwn.c:5781: warning: implicit declaration of function 'IWN_RFCFG_TYPE' if_iwn.c:5781: warning: nested extern declaration of 'IWN_RFCFG_TYPE' if_iwn.c:5781: error: dereferencing pointer to incomplete type if_iwn.c:5787: error: 'IWN_HW_IF_CONFIG' undeclared (first use in this function) if_iwn.c:5788: error: dereferencing pointer to incomplete type if_iwn.c:5789: warning: implicit declaration of function 'IWN_RFCFG_STEP' if_iwn.c:5789: warning: nested extern declaration of 'IWN_RFCFG_STEP' if_iwn.c:5789: error: dereferencing pointer to incomplete type if_iwn.c:5790: warning: implicit declaration of function 'IWN_RFCFG_DASH' if_iwn.c:5790: warning: nested extern declaration of 'IWN_RFCFG_DASH' if_iwn.c:5790: error: dereferencing pointer to incomplete type if_iwn.c:5793: error: 'IWN_HW_IF_CONFIG_RADIO_SI' undeclared (first use in this function) if_iwn.c:5793: error: 'IWN_HW_IF_CONFIG_MAC_SI' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:5798: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5799: error: conflicting types for 'iwn5000_nic_config' if_iwn.c:215: error: previous declaration of 'iwn5000_nic_config' was here if_iwn.c: In function 'iwn5000_nic_config': if_iwn.c:5803: error: dereferencing pointer to incomplete type if_iwn.c:5804: error: 'IWN_HW_IF_CONFIG' undeclared (first use in this function) if_iwn.c:5805: error: dereferencing pointer to incomplete type if_iwn.c:5806: error: dereferencing pointer to incomplete type if_iwn.c:5807: error: dereferencing pointer to incomplete type if_iwn.c:5810: error: 'IWN_HW_IF_CONFIG_RADIO_SI' undeclared (first use in this function) if_iwn.c:5810: error: 'IWN_HW_IF_CONFIG_MAC_SI' undeclared (first use in this function) if_iwn.c:5812: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:5815: error: 'IWN_APMG_PS' undeclared (first use in this function) if_iwn.c:5815: error: 'IWN_APMG_PS_EARLY_PWROFF_DIS' undeclared (first use in this function) if_iwn.c:5815: warning: passing argument 1 of 'iwn_prph_setbits' from incompatible pointer type if_iwn.c:5817: error: dereferencing pointer to incomplete type if_iwn.c:5817: error: 'IWN_HW_REV_TYPE_1000' undeclared (first use in this function) if_iwn.c:5823: error: 'IWN_APMG_DIGITAL_SVR' undeclared (first use in this function) if_iwn.c:5823: warning: passing argument 1 of 'iwn_prph_read' from incompatible pointer type if_iwn.c:5824: error: 'IWN_APMG_DIGITAL_SVR_VOLTAGE_MASK' undeclared (first use in this function) if_iwn.c:5825: error: 'IWN_APMG_DIGITAL_SVR_VOLTAGE_1_32' undeclared (first use in this function) if_iwn.c:5826: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5828: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:5830: error: dereferencing pointer to incomplete type if_iwn.c:5830: error: 'IWN_FLAG_INTERNAL_PA' undeclared (first use in this function) if_iwn.c:5832: error: 'IWN_GP_DRIVER' undeclared (first use in this function) if_iwn.c:5832: error: 'IWN_GP_DRIVER_RADIO_2X2_IPA' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:5841: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5842: error: conflicting types for 'iwn_hw_prepare' if_iwn.c:216: error: previous declaration of 'iwn_hw_prepare' was here if_iwn.c: In function 'iwn_hw_prepare': if_iwn.c:5846: error: 'IWN_HW_IF_CONFIG' undeclared (first use in this function) if_iwn.c:5846: error: 'IWN_HW_IF_CONFIG_NIC_READY' undeclared (first use in this function) if_iwn.c:5855: error: 'IWN_HW_IF_CONFIG_PREPARE' undeclared (first use in this function) if_iwn.c:5858: error: 'IWN_HW_IF_CONFIG_PREPARE_DONE' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:5877: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5878: error: conflicting types for 'iwn_hw_init' if_iwn.c:217: error: previous declaration of 'iwn_hw_init' was here if_iwn.c: In function 'iwn_hw_init': if_iwn.c:5879: error: dereferencing pointer to incomplete type if_iwn.c:5883: error: 'IWN_INT' undeclared (first use in this function) if_iwn.c:5885: warning: passing argument 1 of 'iwn_apm_init' from incompatible pointer type if_iwn.c:5887: error: dereferencing pointer to incomplete type if_iwn.c:5894: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:5897: error: 'IWN_APMG_PS' undeclared (first use in this function) if_iwn.c:5897: error: 'IWN_APMG_PS_PWR_SRC_MASK' undeclared (first use in this function) if_iwn.c:5897: warning: passing argument 1 of 'iwn_prph_clrbits' from incompatible pointer type if_iwn.c:5898: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:5901: error: dereferencing pointer to incomplete type if_iwn.c:5906: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:5909: error: 'IWN_FH_RX_CONFIG' undeclared (first use in this function) if_iwn.c:5910: error: 'IWN_FH_RX_WPTR' undeclared (first use in this function) if_iwn.c:5912: error: 'IWN_FH_RX_BASE' undeclared (first use in this function) if_iwn.c:5912: error: dereferencing pointer to incomplete type if_iwn.c:5914: error: 'IWN_FH_STATUS_WPTR' undeclared (first use in this function) if_iwn.c:5914: error: dereferencing pointer to incomplete type if_iwn.c:5917: error: 'IWN_FH_RX_CONFIG_ENA' undeclared (first use in this function) if_iwn.c:5918: error: 'IWN_FH_RX_CONFIG_IGN_RXF_EMPTY' undeclared (first use in this function) if_iwn.c:5919: error: 'IWN_FH_RX_CONFIG_IRQ_DST_HOST' undeclared (first use in this function) if_iwn.c:5920: error: 'IWN_FH_RX_CONFIG_SINGLE_FRAME' undeclared (first use in this function) if_iwn.c:5921: warning: implicit declaration of function 'IWN_FH_RX_CONFIG_RB_TIMEOUT' if_iwn.c:5921: warning: nested extern declaration of 'IWN_FH_RX_CONFIG_RB_TIMEOUT' if_iwn.c:5922: warning: implicit declaration of function 'IWN_FH_RX_CONFIG_NRBD' if_iwn.c:5922: warning: nested extern declaration of 'IWN_FH_RX_CONFIG_NRBD' if_iwn.c:5922: error: 'IWN_RX_RING_COUNT_LOG' undeclared (first use in this function) if_iwn.c:5923: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:5924: error: 'IWN_RX_RING_COUNT' undeclared (first use in this function) if_iwn.c:5926: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:5931: error: dereferencing pointer to incomplete type if_iwn.c:5931: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:5934: error: 'IWN_FH_KW_ADDR' undeclared (first use in this function) if_iwn.c:5934: error: dereferencing pointer to incomplete type if_iwn.c:5937: error: dereferencing pointer to incomplete type if_iwn.c:5938: error: dereferencing pointer to incomplete type if_iwn.c:5941: warning: implicit declaration of function 'IWN_FH_CBBC_QUEUE' if_iwn.c:5941: warning: nested extern declaration of 'IWN_FH_CBBC_QUEUE' if_iwn.c:5942: error: dereferencing pointer to incomplete type if_iwn.c:5944: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:5947: error: dereferencing pointer to incomplete type if_iwn.c:5949: error: 'IWN_FH_TX_CONFIG_DMA_ENA' undeclared (first use in this function) if_iwn.c:5950: error: 'IWN_FH_TX_CONFIG_DMA_CREDIT_ENA' undeclared (first use in this function) if_iwn.c:5954: error: 'IWN_UCODE_GP1_CLR' undeclared (first use in this function) if_iwn.c:5954: error: 'IWN_UCODE_GP1_RFKILL' undeclared (first use in this function) if_iwn.c:5955: error: 'IWN_UCODE_GP1_CMD_BLOCKED' undeclared (first use in this function) if_iwn.c:5960: error: 'IWN_INT_COALESCING' undeclared (first use in this function) if_iwn.c:5962: error: 'IWN_INT_MASK' undeclared (first use in this function) if_iwn.c:5962: error: dereferencing pointer to incomplete type if_iwn.c:5968: error: dereferencing pointer to incomplete type if_iwn.c:5970: error: dereferencing pointer to incomplete type if_iwn.c:5976: error: dereferencing pointer to incomplete type if_iwn.c:5978: error: dereferencing pointer to incomplete type if_iwn.c:5984: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:5988: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:5989: error: conflicting types for 'iwn_hw_stop' if_iwn.c:218: error: previous declaration of 'iwn_hw_stop' was here if_iwn.c: In function 'iwn_hw_stop': if_iwn.c:5990: error: dereferencing pointer to incomplete type if_iwn.c:5994: error: 'IWN_RESET' undeclared (first use in this function) if_iwn.c:5994: error: 'IWN_RESET_NEVO' undeclared (first use in this function) if_iwn.c:5997: error: 'IWN_INT_MASK' undeclared (first use in this function) if_iwn.c:5998: error: 'IWN_INT' undeclared (first use in this function) if_iwn.c:5999: error: 'IWN_FH_INT' undeclared (first use in this function) if_iwn.c:6000: error: dereferencing pointer to incomplete type if_iwn.c:6000: error: 'IWN_FLAG_USE_ICT' undeclared (first use in this function) if_iwn.c:6003: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:6006: error: dereferencing pointer to incomplete type if_iwn.c:6006: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:6009: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:6010: error: dereferencing pointer to incomplete type if_iwn.c:6013: error: 'IWN_FH_TX_STATUS' undeclared (first use in this function) if_iwn.c:6014: warning: implicit declaration of function 'IWN_FH_TX_STATUS_IDLE' if_iwn.c:6014: warning: nested extern declaration of 'IWN_FH_TX_STATUS_IDLE' if_iwn.c:6020: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:6024: error: dereferencing pointer to incomplete type if_iwn.c:6024: warning: passing argument 1 of 'iwn_reset_rx_ring' from incompatible pointer type if_iwn.c:6027: error: dereferencing pointer to incomplete type if_iwn.c:6028: error: dereferencing pointer to incomplete type if_iwn.c:6028: warning: passing argument 1 of 'iwn_reset_tx_ring' from incompatible pointer type if_iwn.c:6030: warning: passing argument 1 of 'iwn_nic_lock' from incompatible pointer type if_iwn.c:6031: error: 'IWN_APMG_CLK_DIS' undeclared (first use in this function) if_iwn.c:6032: error: 'IWN_APMG_CLK_CTRL_DMA_CLK_RQT' undeclared (first use in this function) if_iwn.c:6032: warning: passing argument 1 of 'iwn_prph_write' from incompatible pointer type if_iwn.c:6033: warning: passing argument 1 of 'iwn_nic_unlock' from incompatible pointer type if_iwn.c:6038: warning: passing argument 1 of 'iwn_apm_stop' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:6042: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:6043: error: conflicting types for 'iwn_init_locked' if_iwn.c:219: error: previous declaration of 'iwn_init_locked' was here if_iwn.c: In function 'iwn_init_locked': if_iwn.c:6044: error: dereferencing pointer to incomplete type if_iwn.c:6049: warning: passing argument 1 of 'iwn_hw_prepare' from incompatible pointer type if_iwn.c:6051: error: dereferencing pointer to incomplete type if_iwn.c:6057: error: dereferencing pointer to incomplete type if_iwn.c:6057: error: 'IWN_INT_MASK_DEF' undeclared (first use in this function) if_iwn.c:6058: error: dereferencing pointer to incomplete type if_iwn.c:6058: error: 'IWN_FLAG_USE_ICT' undeclared (first use in this function) if_iwn.c:6061: error: 'IWN_GP_CNTRL' undeclared (first use in this function) if_iwn.c:6061: error: 'IWN_GP_CNTRL_RFKILL' undeclared (first use in this function) if_iwn.c:6062: error: dereferencing pointer to incomplete type if_iwn.c:6066: error: 'IWN_INT' undeclared (first use in this function) if_iwn.c:6067: error: 'IWN_INT_MASK' undeclared (first use in this function) if_iwn.c:6067: error: dereferencing pointer to incomplete type if_iwn.c:6072: warning: passing argument 1 of 'iwn_read_firmware' from incompatible pointer type if_iwn.c:6074: error: dereferencing pointer to incomplete type if_iwn.c:6081: warning: passing argument 1 of 'iwn_hw_init' from incompatible pointer type if_iwn.c:6082: warning: implicit declaration of function 'firmware_put' if_iwn.c:6082: warning: nested extern declaration of 'firmware_put' if_iwn.c:6082: error: dereferencing pointer to incomplete type if_iwn.c:6082: error: 'FIRMWARE_UNLOAD' undeclared (first use in this function) if_iwn.c:6083: error: dereferencing pointer to incomplete type if_iwn.c:6085: error: dereferencing pointer to incomplete type if_iwn.c:6092: warning: passing argument 1 of 'iwn_config' from incompatible pointer type if_iwn.c:6094: error: dereferencing pointer to incomplete type if_iwn.c:6100: error: 'struct ifnet' has no member named 'if_drv_flags' if_iwn.c:6100: error: 'IFF_DRV_OACTIVE' undeclared (first use in this function) if_iwn.c:6101: error: 'struct ifnet' has no member named 'if_drv_flags' if_iwn.c:6101: error: 'IFF_DRV_RUNNING' undeclared (first use in this function) if_iwn.c:6106: warning: passing argument 1 of 'iwn_stop_locked' from incompatible pointer type if_iwn.c: In function 'iwn_init': if_iwn.c:6113: error: dereferencing pointer to incomplete type if_iwn.c:6114: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:6117: warning: passing argument 1 of 'iwn_init_locked' from incompatible pointer type if_iwn.c:6120: error: 'struct ifnet' has no member named 'if_drv_flags' if_iwn.c:6120: error: 'IFF_DRV_RUNNING' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:6125: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:6126: error: conflicting types for 'iwn_stop_locked' if_iwn.c:221: error: previous declaration of 'iwn_stop_locked' was here if_iwn.c: In function 'iwn_stop_locked': if_iwn.c:6127: error: dereferencing pointer to incomplete type if_iwn.c:6131: error: dereferencing pointer to incomplete type if_iwn.c:6132: error: dereferencing pointer to incomplete type if_iwn.c:6133: error: 'struct ifnet' has no member named 'if_drv_flags' if_iwn.c:6133: error: 'IFF_DRV_RUNNING' undeclared (first use in this function) if_iwn.c:6133: error: 'IFF_DRV_OACTIVE' undeclared (first use in this function) if_iwn.c:6136: warning: passing argument 1 of 'iwn_hw_stop' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:6140: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:6141: error: conflicting types for 'iwn_stop' if_iwn.c:222: error: previous declaration of 'iwn_stop' was here if_iwn.c: In function 'iwn_stop': if_iwn.c:6143: warning: passing argument 1 of 'iwn_stop_locked' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:6151: warning: 'struct ieee80211com' declared inside parameter list if_iwn.c:6152: error: conflicting types for 'iwn_scan_start' if_iwn.c:223: error: previous declaration of 'iwn_scan_start' was here if_iwn.c: In function 'iwn_scan_start': if_iwn.c:6153: error: dereferencing pointer to incomplete type if_iwn.c:6158: error: 'IWN_LED_LINK' undeclared (first use in this function) if_iwn.c:6158: warning: passing argument 1 of 'iwn_set_led' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:6166: warning: 'struct ieee80211com' declared inside parameter list if_iwn.c:6167: error: conflicting types for 'iwn_scan_end' if_iwn.c:224: error: previous declaration of 'iwn_scan_end' was here if_iwn.c: In function 'iwn_scan_end': if_iwn.c:6168: error: dereferencing pointer to incomplete type if_iwn.c:6170: error: dereferencing pointer to incomplete type if_iwn.c:6173: error: dereferencing pointer to incomplete type if_iwn.c:6173: error: 'IEEE80211_S_RUN' undeclared (first use in this function) if_iwn.c:6175: error: 'IWN_LED_LINK' undeclared (first use in this function) if_iwn.c:6175: warning: passing argument 1 of 'iwn_set_led' from incompatible pointer type if_iwn.c: At top level: if_iwn.c:6184: warning: 'struct ieee80211com' declared inside parameter list if_iwn.c:6185: error: conflicting types for 'iwn_set_channel' if_iwn.c:225: error: previous declaration of 'iwn_set_channel' was here if_iwn.c: In function 'iwn_set_channel': if_iwn.c:6186: error: dereferencing pointer to incomplete type if_iwn.c:6187: error: dereferencing pointer to incomplete type if_iwn.c:6191: error: dereferencing pointer to incomplete type if_iwn.c:6191: error: dereferencing pointer to incomplete type if_iwn.c:6192: error: dereferencing pointer to incomplete type if_iwn.c:6192: error: dereferencing pointer to incomplete type if_iwn.c:6193: error: dereferencing pointer to incomplete type if_iwn.c:6193: error: dereferencing pointer to incomplete type if_iwn.c:6194: error: dereferencing pointer to incomplete type if_iwn.c:6194: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:6202: warning: 'struct ieee80211_scan_state' declared inside parameter list if_iwn.c:6203: error: conflicting types for 'iwn_scan_curchan' if_iwn.c:226: error: previous declaration of 'iwn_scan_curchan' was here if_iwn.c: In function 'iwn_scan_curchan': if_iwn.c:6204: error: dereferencing pointer to incomplete type if_iwn.c:6205: error: dereferencing pointer to incomplete type if_iwn.c:6209: warning: passing argument 1 of 'iwn_scan' from incompatible pointer type if_iwn.c:6212: warning: implicit declaration of function 'ieee80211_cancel_scan' if_iwn.c:6212: warning: nested extern declaration of 'ieee80211_cancel_scan' if_iwn.c: At top level: if_iwn.c:6221: warning: 'struct ieee80211_scan_state' declared inside parameter list if_iwn.c:6222: error: conflicting types for 'iwn_scan_mindwell' if_iwn.c:227: error: previous declaration of 'iwn_scan_mindwell' was here if_iwn.c:6227: warning: 'struct ieee80211_channel' declared inside parameter list if_iwn.c:6227: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c: In function 'iwn_find_eeprom_channel': if_iwn.c:6232: error: 'iwn_bands' undeclared (first use in this function) if_iwn.c:6233: error: dereferencing pointer to incomplete type if_iwn.c:6234: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:6246: error: array type has incomplete element type if_iwn.c:6246: warning: 'struct ieee80211_channel' declared inside parameter list if_iwn.c:6246: warning: 'struct ieee80211_regdomain' declared inside parameter list if_iwn.c:6246: warning: 'struct ieee80211com' declared inside parameter list if_iwn.c:6247: error: conflicting types for 'iwn_setregdomain' if_iwn.c:230: error: previous declaration of 'iwn_setregdomain' was here if_iwn.c: In function 'iwn_setregdomain': if_iwn.c:6248: error: dereferencing pointer to incomplete type if_iwn.c:6255: warning: passing argument 1 of 'iwn_find_eeprom_channel' from incompatible pointer type if_iwn.c:6255: warning: passing argument 2 of 'iwn_find_eeprom_channel' from incompatible pointer type if_iwn.c:6257: error: dereferencing pointer to incomplete type if_iwn.c:6259: error: dereferencing pointer to incomplete type if_iwn.c:6259: error: dereferencing pointer to incomplete type if_iwn.c:6259: error: dereferencing pointer to incomplete type if_iwn.c:6262: error: dereferencing pointer to incomplete type if_iwn.c:6262: warning: passing argument 1 of 'iwn_eeprom_channel_flags' from incompatible pointer type if_iwn.c: In function 'iwn_hw_reset': if_iwn.c:6272: error: dereferencing pointer to incomplete type if_iwn.c:6273: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:6275: warning: passing argument 1 of 'iwn_stop' from incompatible pointer type if_iwn.c:6277: warning: implicit declaration of function 'ieee80211_notify_radio' if_iwn.c:6277: warning: nested extern declaration of 'ieee80211_notify_radio' if_iwn.c: In function 'iwn_radio_on': if_iwn.c:6284: error: dereferencing pointer to incomplete type if_iwn.c:6285: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:6286: error: dereferencing pointer to incomplete type if_iwn.c:6290: warning: implicit declaration of function 'ieee80211_init' if_iwn.c:6290: warning: nested extern declaration of 'ieee80211_init' if_iwn.c: In function 'iwn_radio_off': if_iwn.c:6298: error: dereferencing pointer to incomplete type if_iwn.c:6299: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:6300: error: dereferencing pointer to incomplete type if_iwn.c:6302: warning: passing argument 1 of 'iwn_stop' from incompatible pointer type if_iwn.c:6308: error: 'IWN_INT' undeclared (first use in this function) if_iwn.c:6309: error: 'IWN_INT_MASK' undeclared (first use in this function) if_iwn.c:6309: error: dereferencing pointer to incomplete type if_iwn.c: At top level: if_iwn.c:6314: warning: 'struct iwn_softc' declared inside parameter list if_iwn.c:6315: error: conflicting types for 'iwn_sysctlattach' if_iwn.c:234: error: previous declaration of 'iwn_sysctlattach' was here if_iwn.c: In function 'iwn_sysctlattach': if_iwn.c:6316: warning: implicit declaration of function 'device_get_sysctl_ctx' if_iwn.c:6316: warning: nested extern declaration of 'device_get_sysctl_ctx' if_iwn.c:6316: error: dereferencing pointer to incomplete type if_iwn.c:6316: warning: initialization makes pointer from integer without a cast if_iwn.c:6317: warning: implicit declaration of function 'device_get_sysctl_tree' if_iwn.c:6317: warning: nested extern declaration of 'device_get_sysctl_tree' if_iwn.c:6317: error: dereferencing pointer to incomplete type if_iwn.c:6317: warning: initialization makes pointer from integer without a cast if_iwn.c:6320: error: dereferencing pointer to incomplete type if_iwn.c:6321: error: dereferencing pointer to incomplete type if_iwn.c: In function 'iwn_shutdown': if_iwn.c:6331: warning: passing argument 1 of 'iwn_stop' from incompatible pointer type if_iwn.c: In function 'iwn_suspend': if_iwn.c:6339: error: dereferencing pointer to incomplete type if_iwn.c:6340: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:6341: error: dereferencing pointer to incomplete type if_iwn.c:6343: warning: passing argument 1 of 'iwn_stop' from incompatible pointer type if_iwn.c: In function 'iwn_resume': if_iwn.c:6353: error: dereferencing pointer to incomplete type if_iwn.c:6354: error: 'struct ifnet' has no member named 'if_l2com' if_iwn.c:6355: error: dereferencing pointer to incomplete type if_iwn.c:6364: error: 'struct ifnet' has no member named 'if_drv_flags' if_iwn.c:6364: error: 'IFF_DRV_RUNNING' undeclared (first use in this function) if_iwn.c: In function 'iwn_intr_str': if_iwn.c:6376: error: 'IWN_UC_READY' undeclared (first use in this function) if_iwn.c:6377: error: 'IWN_ADD_NODE_DONE' undeclared (first use in this function) if_iwn.c:6378: error: 'IWN_TX_DONE' undeclared (first use in this function) if_iwn.c:6379: error: 'IWN_START_SCAN' undeclared (first use in this function) if_iwn.c:6380: error: 'IWN_STOP_SCAN' undeclared (first use in this function) if_iwn.c:6381: error: 'IWN_RX_STATISTICS' undeclared (first use in this function) if_iwn.c:6382: error: 'IWN_BEACON_STATISTICS' undeclared (first use in this function) if_iwn.c:6383: error: 'IWN_STATE_CHANGED' undeclared (first use in this function) if_iwn.c:6384: error: 'IWN_BEACON_MISSED' undeclared (first use in this function) if_iwn.c:6385: error: 'IWN_RX_PHY' undeclared (first use in this function) if_iwn.c:6386: error: 'IWN_MPDU_RX_DONE' undeclared (first use in this function) if_iwn.c:6387: error: 'IWN_RX_DONE' undeclared (first use in this function) if_iwn.c:6390: error: 'IWN_CMD_RXON' undeclared (first use in this function) if_iwn.c:6391: error: 'IWN_CMD_RXON_ASSOC' undeclared (first use in this function) if_iwn.c:6392: error: 'IWN_CMD_EDCA_PARAMS' undeclared (first use in this function) if_iwn.c:6393: error: 'IWN_CMD_TIMING' undeclared (first use in this function) if_iwn.c:6394: error: 'IWN_CMD_LINK_QUALITY' undeclared (first use in this function) if_iwn.c:6395: error: 'IWN_CMD_SET_LED' undeclared (first use in this function) if_iwn.c:6396: error: 'IWN5000_CMD_WIMAX_COEX' undeclared (first use in this function) if_iwn.c:6397: error: 'IWN5000_CMD_CALIB_CONFIG' undeclared (first use in this function) if_iwn.c:6398: error: 'IWN5000_CMD_CALIB_RESULT' undeclared (first use in this function) if_iwn.c:6399: error: 'IWN5000_CMD_CALIB_COMPLETE' undeclared (first use in this function) if_iwn.c:6400: error: 'IWN_CMD_SET_POWER_MODE' undeclared (first use in this function) if_iwn.c:6401: error: 'IWN_CMD_SCAN' undeclared (first use in this function) if_iwn.c:6402: error: 'IWN_CMD_SCAN_RESULTS' undeclared (first use in this function) if_iwn.c:6403: error: 'IWN_CMD_TXPOWER' undeclared (first use in this function) if_iwn.c:6404: error: 'IWN_CMD_TXPOWER_DBM' undeclared (first use in this function) if_iwn.c:6405: error: 'IWN5000_CMD_TX_ANT_CONFIG' undeclared (first use in this function) if_iwn.c:6406: error: 'IWN_CMD_BT_COEX' undeclared (first use in this function) if_iwn.c:6407: error: 'IWN_CMD_SET_CRITICAL_TEMP' undeclared (first use in this function) if_iwn.c:6408: error: 'IWN_CMD_SET_SENSITIVITY' undeclared (first use in this function) if_iwn.c:6409: error: 'IWN_CMD_PHY_CALIB' undeclared (first use in this function) if_iwn.c: At top level: if_iwn.c:6430: error: invalid application of 'sizeof' to incomplete type 'struct iwn_softc' *** Error code 1 Stop in /usr/src/sys/dev/netif/iwn.