CVSROOT: /cvs Module name: src Changes by: ke...@cvs.openbsd.org 2017/06/16 08:57:51
Modified files: sys/dev/ic : r92creg.h rtwn.c rtwnvar.h sys/dev/pci : if_rtwn.c sys/dev/usb : if_urtwn.c Log message: - Fix incorrect values in the computation of transmit power for the rtl8188eu chipset. - Small code refactoring: - replace hardcoded rate indexes with their name, like athn(4). - replace fields offsets with the structure; from FreeBSD r294198. - be compliant with definitions of the efuse in vendor hal_pg.h and rename struct r92c_rom member names: s/channel_plan/reserved5/, s/xtal_calib/channel_plan. - no need to disable HWPDN twice in urtwn_r88e_power_on(). Tested by stsp@ and myself with RTL8188CUS, RTL8192CU, RTL8188EU, and RTL8188CE devices. ok stsp@