To get ipkg that satisfies dependencies you should follow below steps:
1. git clone lede source
2. git checkout -b r5917 36f1978a70
3. ./scripts/feeds update -a
4. ./scripts/feeds install -a
5. download config.seed from r5917, mv config.seed .config
6. make defconfig
7. update package/kernel/mwlwifi/Makefile
PKG_VERSION:=10.3.4.0-20180226
PKG_SOURCE_VERSION:=51350a3e085a811179a270baddcae03ec9384f07
8. make -j10 (to compile everything)
9. scp kmod-mwlwifi_4.9.77+10.3.4.0-20180226-1_arm_cortex-a9_vfpv3.ipk to my router
10. opkg install kmod-mwlwifi_4.9.77+10.3.4.0-20180226-1_arm_cortex-a9_vfpv3.ipk
You were missing 3,4 and 6 (I think latter is just simple omission) and . The important thing is that you have to do ./scripts/feeds update/install -a before you do make defconfig. Without it you won't get matching kernel configuration with official build, despite of using proper config.seed file.
Please let me know if it helped.
(Last edited by gpiszczek on 28 Feb 2018, 10:12)