rtlwifi problems after mkinitrd

I am using card RTL8821ae and everytime i install something f.e. bumblebee and i have to run mkinitrd i have to remove and install again rtlwifi_new driver. I got rtlwifi: Selected firmware is not available. where i have to add something to dont reinstall rtlwifi_new over and over again.

please post:

zypper lr -d
zypper se -si rtl

zypper lr -d

Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                               | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                         | Service
---+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------------------------------+--------
 1 | download.nvidia.com-leap            | nVidia Graphics Drivers                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.nvidia.com/opensuse/leap/42.3                                              |        
 2 | http-download.opensuse.org-1ab801a8 | home:Akoellh:Kernelmodules              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/Akoellh:/Kernelmodules/openSUSE_Leap_42.3/  |        
 3 | http-opensuse-guide.org-b43a974f    | libdvdcss repository                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.3/                                          |        
 4 | http-packman.inode.at-4133cae3      | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.3/                                            |        
 5 | openSUSE-Leap-42.3-0                | openSUSE-Leap-42.3-0                    | No      | ----      | ----    |   99     | yast2  | hd:///?device=/dev/disk/by-id/usb-TOSHIBA_TransMemory-Mx_FFFFFFFFFFFFEDB0C00093BD-0:0-part2 |        
 6 | packman                             | packman                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.3/                                            |        
 7 | packman.inode.at-suse               | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.3/                                            |        
 8 | repo-debug                          | openSUSE-Leap-42.3-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/                         |        
 9 | repo-debug-non-oss                  | openSUSE-Leap-42.3-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/                     |        
10 | repo-debug-update                   | openSUSE-Leap-42.3-Update-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.3/oss/                                    |        
11 | repo-debug-update-non-oss           | openSUSE-Leap-42.3-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.3/non-oss/                                |        
12 | repo-non-oss                        | openSUSE-Leap-42.3-Non-Oss              | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/                           |        
13 | repo-oss                            | openSUSE-Leap-42.3-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/oss/                               |        
14 | repo-source                         | openSUSE-Leap-42.3-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/                        |        
15 | repo-source-non-oss                 | openSUSE-Leap-42.3-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/                    |        
16 | repo-update                         | openSUSE-Leap-42.3-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/oss/                                          |        
17 | repo-update-non-oss                 | openSUSE-Leap-42.3-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/non-oss/                                      |        


zypper se -si rtl

Loading repository data...
Reading installed packages...

S  | Name                         | Type    | Version                        | Arch   | Repository                
---+------------------------------+---------+--------------------------------+--------+---------------------------
i+ | rtl8812AU_8821AU-kmp-default | package | 20170613_k4.4.76_1-3.1         | x86_64 | home:Akoellh:Kernelmodules
i+ | rtlwifi_new-firmware-license | package | 0.6.git20160531-1.1            | noarch | home:Akoellh:Kernelmodules
i+ | rtlwifi_new-kmp-default      | package | 20170718.a24cb56_k4.4.76_1-2.1 | x86_64 | home:Akoellh:Kernelmodules


2 | http-download.opensuse.org-1ab801a8 | home:Akoellh:Kernelmodules | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/Akoellh:/Kernelmodules/openSUSE_Leap_42.3/ |

You need also the Update Repo from Akoellh to get the Drivers build against the new Kernel:
http://download.opensuse.org/repositories/home:/Akoellh:/Kernelmodules/openSUSE_Leap_42.3_Update/

PS Packman Repo is listet 3 times, Repo 4, 6 and 7, one is enough…

Unfortunetally didnt’t work, after update rtlwifi firmware disabled so i had to rollback. I read on other forums about dkms method adding to kernel, will try that with snapshoting before

There is no package named rtlwifi-firmware in that Repo, only a license-Package.

You need:
http://download.opensuse.org/repositories/home:/Akoellh:/Kernelmodules/openSUSE_Leap_42.3_Update/noarch/rtl8821ae-firmware-0.6.git20160531-1.1.noarch.rpm
Also the kmp-package from that Repo:
http://download.opensuse.org/repositories/home:/Akoellh:/Kernelmodules/openSUSE_Leap_42.3_Update/x86_64/rtl8812AU_8821AU-kmp-default-20170613_k4.4.90_28-3.6.x86_64.rpm

I have made some research and there is a problem with rtl8821ae on other distros as well, there is solution with adding module with dkms but i failed doing that. Maybe in kernel src there is similiar driver for rtl which is replaced after mkinitrd ? if not i will just do remove install again after some kernel refreshes