mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 14:53:05 +00:00
make firmware buffer persistent to not request firmware on every access
This commit is contained in:
parent
c2741d0bec
commit
499e15d791
4 changed files with 48 additions and 38 deletions
|
@ -76,17 +76,6 @@
|
|||
(le16_to_cpu(_pFwHdr->Signature)&0xFFF0) == 0x2300 || \
|
||||
(le16_to_cpu(_pFwHdr->Signature)&0xFFF0) == 0x88E0)
|
||||
|
||||
enum firmware_source {
|
||||
FW_SOURCE_IMG_FILE = 0,
|
||||
FW_SOURCE_HEADER_FILE = 1, /* from header file */
|
||||
};
|
||||
|
||||
struct rt_firmware {
|
||||
enum firmware_source eFWSource;
|
||||
u8 *szFwBuffer;
|
||||
u32 ulFwLength;
|
||||
};
|
||||
|
||||
/* This structure must be careful with byte-ordering */
|
||||
|
||||
struct rt_firmware_hdr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue