Commit Graph
7851 Commits
Author SHA1 Message Date
Garvit Surana dcf9c2a2ca feat(wifi): run an RTL8852CE's station data under hardware CCMP with host packet numbers in the TX descriptor, its group key, its port and host-side PMF, where the handshake stopped at the first key 2026-11-21 11:28:02 +00:00
Garvit Surana 8b7028fe5a feat(wifi): install and remove an RTL8852C's CCMP keys in its security CAM and point its address CAM at them, waiting for the firmware's receipt and acknowledgement, as rtw89_cam_sec_key_install and rtw89_cam_sec_key_del do, where no key could reach the hardware 2026-11-21 09:36:53 +00:00
Garvit Surana f531e5446c feat(wifi): attach an RTL8852CE as a kept station from its firmware, regulatory database, network and entropy, where it could only be brought up and powered off 2026-11-21 00:23:06 +00:00
Garvit Surana 6257b03d2b feat(wifi): keep an RTL8852CE connected through the shared connection keeper as an rtw89 radio that scans, authenticates, associates and runs the EAPOL handshake over its chip, where the chip had no station 2026-11-21 00:03:03 +00:00
Garvit Surana acc955c6ee feat(wifi): drive a live RTL8852CE through a chip-neutral station interface for channels, scans, management and data frames, association and its TX reports, where its MAC could only be brought up and scanned 2026-11-20 23:17:19 +00:00
Garvit Surana 48ec81fea1 feat(wifi): associate an RTL8852C's station with its AP and leave it again through the CMAC table, join info, address CAM, rate adaptation, beacon filter, port and EDCA H2Cs as rtw89_core_sta_link_assoc and rtw89_core_sta_link_disconnect do, where the firmware only ever had an unassociated role 2026-11-20 22:30:04 +00:00
Garvit Surana 84b43ae1c4 feat(wifi): run an RTL8852C firmware scan over any list of channels on a live chip and restore its channel, RX filter, CAM, EDCCA, TSF sync and DIG afterwards as rtw89_hw_scan_complete does, where a scan ran once before the power-off 2026-11-20 21:21:27 +00:00
Garvit Surana 25faa2834f feat(wifi): keep an RTL8852CE powered after its bring-up as a live chip with its TX power set and stop it on request, where every bring-up ended in a power-off 2026-11-20 20:36:57 +00:00
Garvit Surana b4b9ab57e8 feat(wifi): deliver every frame an associated RTL8852C receives with its decryption status, read its beacon filter reports and wait for an H2C's receipt by sequence as rtw89_core_rx and rtw89_mac_c2h_bcn_fltr_rpt do, where only beacons and scan reports were kept 2026-11-20 19:36:55 +00:00
Garvit Surana 1cdf8cffdc feat(wifi): build an RTL8852C's TX WD body and info for management and data frames, with the CCMP packet number in the descriptor, as rtw89_core_fill_txdesc_v1 and rtw89_core_tx_update_sec_key do, where no frame but an H2C had a descriptor 2026-11-20 19:10:38 +00:00
Garvit Surana 49f3a4005c fix(wifi): refuse an RTL8852C TX reclaim while its data and management rings are stopped, restart every host index as soon as pre_init has cleared the hardware's, count an RXQ or RPQ buffer consumed once it has been delivered even when handing it back fails, and refuse a WD head without WD_INFO_EN, where a hardware index zeroed by deinit or a failed pre_init passed for TXBDs read, a failed pre_init left RX host indices that read the zeroed index as filled entries, a failed give-back redelivered a buffer and wp_info sat at byte 56 for a head whose info Linux would have left out 2026-11-20 18:48:10 +00:00
Garvit Surana 92e71a20f7 feat(wifi): give an RTL8852C's four data queues and its management queue WD pages and payload slots and read its TX release reports from RPQ as rtw89_pci_txwd_submit and rtw89_pci_release_tx do, where only CH12 carried anything 2026-11-19 20:05:13 +00:00
Garvit Surana 19cf59c45a feat(wifi): program an RTL8852C's TX power by rate, offsets, shape, regulatory limits and SAR ceiling for a 20 MHz channel as rtw8852c_set_txpwr does, where its TX power registers kept their reset values 2026-11-19 19:49:49 +00:00
Garvit Surana 1e5c159ae4 feat(wifi): choose an RTL8852C's TX power regulatory index from its efuse country, then the network's, through the firmware's REGD map as rtw89_regd_setup does, where no regulatory index existed 2026-11-19 19:35:33 +00:00
Garvit Surana 605285b515 feat(wifi): read an RTL8852C firmware's TX power by-rate, limit, RU limit, TX shape and regulatory elements for its RFE type as rtw89_fw_recognize_txpwr_from_elm and rtw89_load_rfe_data_from_fw do, where those elements were walked past 2026-11-19 19:28:38 +00:00
Garvit Surana c3333c0b4f feat(wifi): let the connection keeper pass on its radio's carrier wait and diagnostic and hand the radio back, where every keeper took the wired 10 s wait and said nothing of its radio's state 2026-11-19 19:09:40 +00:00
Garvit Surana 45b80e601f fix(drivers): keep an RTL8852CE's RF 0x18 readings in a bring-up error after calibration or the scan fails, where a failed run dropped them 2026-11-19 18:46:33 +00:00
Garvit Surana 45d07be178 docs: describe the rtw89 RTL8852C entry in NOTICE as covering its calibration, channel, station interface and firmware passive scan, where it named only the slice through the coex Wi-Fi grant 2026-11-19 18:28:19 +00:00
Garvit Surana 6effa97bdf feat(drivers): run an RTL8852CE's firmware passive scan after calibration and report the networks it heard, where the bring-up stopped with a calibrated but idle radio 2026-11-19 18:28:19 +00:00
Garvit Surana b336a5b2ba feat(wifi): run an RTL8852C's firmware passive scan over 38 channels and keep the beacons and probe responses it hears as networks with SSID, BSSID, channel and RSSI as rtw89_hw_scan_start, rtw89_hw_scan_offload and rtw89_mac_c2h_scanofld_rsp do, where the radio never received a frame 2026-11-19 17:51:08 +00:00
Garvit Surana 0703008153 feat(wifi): set up an RTL8852C's port 0 and macid 0 tables and create its station role, join state, address CAM and CMAC table in the firmware as rtw89_mac_vif_init does, where the firmware had no interface 2026-11-19 17:23:52 +00:00
Garvit Surana 4b827ff4c2 feat(wifi): run the end of rtw89_core_start for an RTL8852C (PPDU status reports, RTS threshold, firmware log and BA CAM H2Cs) and send every later H2C through one RXQ-draining session that records refusals, where the bring-up stopped after dm_init 2026-11-19 17:08:29 +00:00
Garvit Surana 9ad2079257 feat(wifi): build the firmware log, BA CAM, macid pause, role, join, address CAM, CMAC table and scan-offload H2Cs byte for byte as rtw89's fw.c encoders do, where only OFLD_CFG and RF register pages could be built 2026-11-19 16:46:51 +00:00
Garvit Surana cd5c0b67b2 feat(wifi): program an RTL8852C's baseband for a 20 MHz channel with its firmware gain tables, efuse RX gain offsets, CCK filters, spur notches and TX path table as rtw8852c_set_channel_bb does, and run the whole of rtw89_set_channel, where its baseband kept the table defaults 2026-11-19 16:31:00 +00:00
Garvit Surana 99f8367749 fix(wifi): apply the RTL8852C CAV cut's path B RF copy and reset after a bandwidth change as _ctrl_bw does, where set_channel_rf skipped it without knowing the cut 2026-11-19 16:05:39 +00:00
Garvit Surana 0870708f75 feat(wifi): stop and resume an RTL8852C's TX scheduler and PPDU status around a channel change and program its MAC rate checks and RF channel and bandwidth as rtw8852c_set_channel_help, _mac and _rf do, where its radio stayed on the reset channel 2026-11-19 15:57:31 +00:00
Garvit Surana 566100d72c docs: name chan.c among the rtw89 RTL8852C bring-up's Linux sources in NOTICE, where it was unlisted 2026-11-19 15:46:25 +00:00
Garvit Surana b578178184 fix(wifi): name chan.c's copyright in an RTL8852C's RX dispatcher and document its counters and overflow order, where the header cited chan.c without its line 2026-11-19 15:46:25 +00:00
Garvit Surana c3f08d31f2 feat(wifi): pair an RTL8852C's beacons and probe responses with their PPDU status, tag them with the channel the firmware reports and strip their FCS as rtw89_core_rx does, where only C2Hs were read from RXQ 2026-11-19 15:39:19 +00:00
Garvit Surana 9314d1b653 fix(wifi): truncate an RTL8852C PPDU status's PLCP offset to a byte as rtw89_core_rx_process_mac_ppdu's u8 plcp_size does, where a PLCP length of 32 or more placed the PHY status past where Linux reads it 2026-11-19 15:28:14 +00:00
Garvit Surana 365355c0de feat(wifi): parse an RTL8852C's PPDU status for per-path RSSI and channel index and match it to the frames of its PPDU as rtw89_core_rx_process_ppdu_sts and rtw89_core_rx_ppdu_match do, where received frames carried no signal 2026-11-19 15:20:59 +00:00
Garvit Surana 9336548942 feat(wifi): read an RTL8852C's RX descriptor rate, PPDU and error fields and its firmware's scan-offload reports as rtw89_core_query_rxdesc and rtw89_mac_c2h_scanofld_rsp do, where only the packet type and C2H acks were read 2026-11-19 15:09:03 +00:00
Garvit Surana 8433547381 feat(wifi): describe an RTL8852C 20 MHz channel and read its efuse RX gain offsets as rtw89_chan_create and rtw8852c_efuse_parsing_gain_offset do, where the bring-up knew no channel 2026-11-19 15:03:04 +00:00
Garvit Surana 52f2f30b9e fix(wifi): give an RTL8852C's RX rings 32 buffers and count the polls that find RXQ full, where 8 left under a millisecond of slack once a scan opens the RX filter 2026-11-19 14:51:54 +00:00
Garvit Surana 5818dcac4d docs: name rtw8852c_rfk.c and rtw8852c_rfk_table.c among the rtw89 RTL8852C bring-up's Linux sources in NOTICE, where they were unlisted 2026-11-19 14:27:16 +00:00
Garvit Surana 9135af3194 feat(drivers): run an RTL8852CE's dm_init with NCTL, RCK, DACK and RX DCK after its PHY tables and report the calibration, where the bring-up stopped with an uncalibrated radio 2026-11-19 14:27:16 +00:00
Garvit Surana 9e5d8f2b6e feat(wifi): set an RTL8852C's TX power reference, apply its efuse thermal and PA bias trims and configure both RX paths as the tail of rtw89_phy_dm_init does, where its RX path selection was left at reset 2026-11-19 14:09:56 +00:00
Garvit Surana f7cdbd465b feat(wifi): calibrate an RTL8852C's RX DC offsets on both paths and repair out-of-range offsets as rtw8852c_rx_dck does at init, where its receivers kept their DC offsets 2026-11-19 14:00:34 +00:00
Garvit Surana 9d9cd617e1 feat(wifi): calibrate an RTL8852C's DACs on both paths and reload their MSB, bias and DADCK results with the coex RFK notify around them as rtw8852c_dack does, where its DACs were uncalibrated 2026-11-19 13:49:22 +00:00
Garvit Surana 10605bc45d feat(wifi): calibrate an RTL8852C's RC filters, DAC reference clock and ADC DC offsets as rtw8852c_rck, _drck, _addck and _addck_backup/_reload do, where its analog front end was uncalibrated 2026-11-19 13:34:31 +00:00
Garvit Surana e5e3a1ead5 feat(wifi): enable an RTL8852C's IQK/DPK clocks, wait for its NCTL block and load its firmware NCTL table as rtw89_phy_init_rf_nctl does, where calibration had no NCTL program 2026-11-19 13:26:36 +00:00
Garvit Surana 5344c5d88b feat(wifi): read an RTL8852C's thermals, route its RFE and TRSW pins, set up its environment monitor, PHY status bitmaps, DIG thresholds, crystal cap and EDCCA as the first half of rtw89_phy_dm_init does, where its baseband kept reset values for all of them 2026-11-19 13:15:07 +00:00
Garvit Surana 55b92789b9 docs: describe the rtw89 RTL8852C entry in NOTICE as covering its BB/RF tables, RF register pages and coex Wi-Fi grant, where it named only the MAC init and H2C/C2H channel slice 2026-11-19 12:56:09 +00:00
Garvit Surana ba9c7cf96e fix(wifi): clear an RTL8852C's coex scoreboard before its PCIe deinit and power-off once coex was set up, as rtw89_btc_ntfy_poweroff does, where WL stayed marked on for BT after the power-off 2026-11-19 12:56:01 +00:00
Garvit Surana 2bb14f75ca docs: name phy.c, phy.h, coex.c, coex.h and rtw8852c_table.c among the rtw89 RTL8852C bring-up's Linux sources in NOTICE, where they were unlisted 2026-11-19 12:35:08 +00:00
Garvit Surana befc02c033 feat(drivers): load an RTL8852CE's firmware PHY tables, send its RF register pages and grant its RF to Wi-Fi after the MAC init and report what was applied, where the bring-up stopped at the firmware's OFLD_CFG acknowledgement 2026-11-19 12:33:58 +00:00
Garvit Surana 2ec5009a5b feat(wifi): set up an RTL8852C's PTA, grant its RF to Wi-Fi on both paths and set its BT-off RX backoffs as rtw89_btc_ntfy_init leaves them with BT off, where the grant was left at its reset value 2026-11-19 11:52:22 +00:00
Garvit Surana 316a869e0f feat(wifi): load an RTL8852C's firmware radio tables path B first and send their RF register pages to the firmware as rtw89_phy_init_rf_reg and rtw89_fw_h2c_rf_reg do, where its RF ran on reset values 2026-11-19 11:42:29 +00:00
Garvit Surana 080526faea feat(wifi): reset an RTL8852C's BB and RF, load its firmware BB table, set its TX power units, decode its BB gain table and reset its BB as rtw89_chip_reset_bb_rf and rtw89_phy_init_bb_reg do, where its BB ran on reset values 2026-11-19 11:29:44 +00:00
Garvit Surana 587d02fa57 feat(wifi): read and write an RTL8852C's RF registers through its direct window or its SWSI serial interface as rtw89_phy_read_rf_v1 and rtw89_phy_write_rf_v1 do, where no RF register could be reached 2026-11-19 11:14:00 +00:00