Skip to content

Commit

Permalink
starting hacks ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jan 1, 2024
1 parent 15be0fe commit 042be59
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions os_dep/linux/ioctl_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -3085,9 +3085,9 @@ static int rtw_wx_get_nick(struct net_device *dev,
/* struct security_priv *psecuritypriv = &padapter->securitypriv; */

if (extra) {
wrqu->data.length = 14;
wrqu->data.length = 16;
wrqu->data.flags = 1;
_rtw_memcpy(extra, "<WIFI@REALTEK>", 14);
_rtw_memcpy(extra, "rtl8852bu_openhd", 16);
}

/* rtw_signal_process(pid, SIGUSR1); */ /* for test */
Expand Down
8 changes: 8 additions & 0 deletions os_dep/linux/os_intfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,14 @@ u8 rtw_reset_drv_sw(_adapter *padapter)
return ret8;
}

// OpenHD params
int openhd_override_channel = 0;
module_param(openhd_override_channel, int, 0644);
MODULE_PARM_DESC(openhd_override_channel, "OpenHD easy (CRDA workaround)");
int openhd_override_tx_power_mbm = 0;
module_param(openhd_override_tx_power_mbm, int, 0644);
MODULE_PARM_DESC(openhd_override_tx_power_mbm, "OpenHD easy (CRDA workaround)");

static void devobj_decide_init_chplan(struct dvobj_priv *dvobj)
{
struct rf_ctl_t *rfctl = dvobj_to_rfctl(dvobj);
Expand Down

0 comments on commit 042be59

Please sign in to comment.